]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scroll/scroll.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / samples / scroll / scroll.cpp
index 82168460410db8af057068583f01eb04f062d32c..6f27a04edeb6dde9bb7a61cf1b474f794e7fc1d5 100644 (file)
@@ -205,27 +205,27 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
 #endif
 
     wxPanel *test = new wxPanel( this, -1, wxPoint(10, 110), wxSize(130,50), wxSIMPLE_BORDER | wxTAB_TRAVERSAL );
-    test->SetBackgroundColour( "WHEAT" );
+    test->SetBackgroundColour( wxT("WHEAT") );
 
 #if 0
 
     wxButton *test2 = new wxButton( test, -1, "Hallo", wxPoint(10,10) );
 
     test = new wxPanel( this, -1, wxPoint(160, 530), wxSize(130,120), wxSUNKEN_BORDER | wxTAB_TRAVERSAL );
-    test->SetBackgroundColour( "WHEAT" );
+    test->SetBackgroundColour( wxT("WHEAT") );
     test->SetCursor( wxCursor( wxCURSOR_NO_ENTRY ) );
     test2 = new wxButton( test, -1, "Hallo", wxPoint(10,10) );
     test2->SetCursor( wxCursor( wxCURSOR_PENCIL ) );
 
     test = new wxPanel( this, -1, wxPoint(310, 530), wxSize(130,120), wxRAISED_BORDER | wxTAB_TRAVERSAL );
-    test->SetBackgroundColour( "WHEAT" );
+    test->SetBackgroundColour( wxT("WHEAT") );
     test->SetCursor( wxCursor( wxCURSOR_PENCIL ) );
     test2 = new wxButton( test, -1, "Hallo", wxPoint(10,10) );
     test2->SetCursor( wxCursor( wxCURSOR_NO_ENTRY ) );
 
 #endif
 
-    SetBackgroundColour( "BLUE" );
+    SetBackgroundColour( wxT("BLUE") );
 
     SetCursor( wxCursor( wxCURSOR_IBEAM ) );
 }