Update of /cvsroot/smartwin/SmartWin/tests/WidgetDialog
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11692
Modified Files:
Main.cpp
Log Message:
Allow unicode or mbs compilation
Index: Main.cpp
===================================================================
RCS file: /cvsroot/smartwin/SmartWin/tests/WidgetDialog/Main.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Main.cpp 18 Feb 2007 14:35:20 -0000 1.2
+++ Main.cpp 11 Jun 2007 01:28:07 -0000 1.3
@@ -139,7 +139,7 @@
for ( int i=0; i < 5; i++ ) {
ss << _T("Page ") << i;
- itsTabSheet->addPage( ss.str(), i ); ss.str( "" );
+ itsTabSheet->addPage( ss.str(), i ); ss.str( _T("") );
ss << _T("Dialog ") << i;
itsHexDialogs.push_back( new HexDialog<DialogTestClass>( this, ss.str(), IDD_HEXDIALOG ) );
@@ -252,7 +252,7 @@
{
if ( NULL == itsPopupDialog ) {
itsPopupDialog = new HexDialog<DialogTestClass>(
- this, "Modeless dialog as POPUP", IDD_HEXDIALOGTWO );
+ this, _T("Modeless dialog as POPUP"), IDD_HEXDIALOGTWO );
itsPopupDialog->setVisible( true ); //
} else {
itsPopupDialog->setFocus();
|