]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/xrc/derivdlg.cpp
check for wrong wxID_OK usage (patch 758388)
[wxWidgets.git] / contrib / samples / xrc / derivdlg.cpp
index a9a719c49ddfba005dfdd04af867fd235d44cc8d..437615d60be92d94c556e7b67580e2f7d766a344 100644 (file)
@@ -61,7 +61,7 @@ END_EVENT_TABLE()
 // Constructor (Notice how small and easy it is)
 PreferencesDialog::PreferencesDialog(wxWindow* parent)
 {    
-    wxXmlResource::Get()->LoadDialog(this, parent, "derived_dialog");                                                            
+    wxXmlResource::Get()->LoadDialog(this, parent, wxT("derived_dialog"));
 }
 
 // Destructor. (Empty, as I don't need anything special done when destructing).