]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/typetest.cpp
added test for env var expansion
[wxWidgets.git] / samples / typetest / typetest.cpp
index 98ee15d0963f5ec8679b3466945f413e2495508c..cc972aea5a688a5f074e0cd52655739926acc197 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "typetest.h"
 
-#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__)
+#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__)
 #include "mondrian.xpm"
 #endif
 
@@ -96,8 +96,8 @@ bool MyApp::OnInit()
     wxMenu *test_menu = new wxMenu;
 #if wxUSE_TIMEDATE
     test_menu->Append(TYPES_DATE, "&Date test");
-#endif // wxUSE_TIMEDATE
     test_menu->Append(TYPES_TIME, "&Time test");
+#endif // wxUSE_TIMEDATE
     test_menu->Append(TYPES_VARIANT, "&Variant test");
     test_menu->Append(TYPES_BYTEORDER, "&Byteorder test");
 #if wxUSE_UNICODE
@@ -436,7 +436,7 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event))
             case wxSTREAM_READ_ERROR:   textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break;
             case wxSTREAM_WRITE_ERROR:  textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break;
             default: textCtrl.WriteText( "Huh?\n" ); break;
-           }
+        }
     }
     textCtrl.WriteText( "\n" );