]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/propdlg.h
Cleanup of wxDataViewCtrl cell activation code.
[wxWidgets.git] / interface / wx / propdlg.h
index 37df727d2fae82c8a75dc5991234badc6fbd52fb..4349afacc3f58b0250dbac5017a2700bbdedff29 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     interface of wxPropertySheetDialog
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -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