]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/propdlg.h
undo the last change as it results in buildbot configuration error
[wxWidgets.git] / interface / wx / propdlg.h
index 37fb44f58623293dbf9905e0519d79aff5b3c0ed..9b7c9bbe05b458584bbb5b12fb85ac30da2ceca6 100644 (file)
@@ -80,7 +80,7 @@ enum wxPropertySheetDialogFlags
 
         // Add page
         wxPanel* panel = new wxPanel(GetBookCtrl(), ...);
-        GetBookCtrl()->AddPage(panel, wxT("General"));
+        GetBookCtrl()->AddPage(panel, "General");
 
         LayoutDialog();
         return true;
@@ -116,7 +116,7 @@ public:
                           const wxPoint& pos = wxDefaultPosition,
                           const wxSize& size = wxDefaultSize,
                           long style = wxDEFAULT_DIALOG_STYLE,
-                          const wxString& name = "dialogBox");
+                          const wxString& name = wxDialogNameStr);
 
     /**
         Override this if you wish to add the book control in a way different from the
@@ -127,12 +127,11 @@ public:
     /**
         Call this from your own Create function, before adding buttons and pages.
     */
-    bool Create(wxWindow* parent, wxWindowID id,
-                const wxString& title,
+    bool Create(wxWindow* parent, wxWindowID id, const wxString& title,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxDEFAULT_DIALOG_STYLE,
-                const wxString& name = "dialogBox");
+                const wxString& name = wxDialogNameStr);
 
     /**
         Override this if you wish to create a different kind of book control; by
@@ -149,7 +148,7 @@ public:
 
         @note On PocketPC, no buttons are created.
     */
-    void CreateButtons(int flags = wxOK|wxCANCEL);
+    virtual void CreateButtons(int flags = wxOK|wxCANCEL);
 
     /**
         Returns the book control that will contain your settings pages.