X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ad10f30552aaeea5579388a7988504f4b4a2bf2..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/interface/wx/propgrid/manager.h diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 473dd12b54..f867108b36 100644 --- a/interface/wx/propgrid/manager.h +++ b/interface/wx/propgrid/manager.h @@ -170,19 +170,19 @@ public: wxPropertyGridPage* page; - page = pgMan->AddPage(wxT("First Page")); + page = pgMan->AddPage("First Page"); - page->Append( new wxPropertyCategory(wxT("Category A1")) ); + page->Append( new wxPropertyCategory("Category A1") ); - page->Append( new wxIntProperty(wxT("Number"),wxPG_LABEL,1) ); + page->Append( new wxIntProperty("Number",wxPG_LABEL,1) ); - page->Append( new wxColourProperty(wxT("Colour"),wxPG_LABEL,*wxWHITE) ); + page->Append( new wxColourProperty("Colour",wxPG_LABEL,*wxWHITE) ); - page = pgMan->AddPage(wxT("Second Page")); + page = pgMan->AddPage("Second Page"); - page->Append( wxT("Text"),wxPG_LABEL,wxT("(no text)") ); + page->Append( "Text",wxPG_LABEL,"(no text)" ); - page->Append( new wxFontProperty(wxT("Font"),wxPG_LABEL) ); + page->Append( new wxFontProperty("Font",wxPG_LABEL) ); @endcode @section propgridmanager_window_styles_ Window Styles @@ -463,8 +463,11 @@ protected: // /** - Creates property grid for the manager. - Override to use subclassed wxPropertyGrid. + Creates property grid for the manager. Reimplement in derived class to + use subclassed wxPropertyGrid. However, if you you do this then you + must also use the two-step construction (ie. default constructor and + Create() instead of constructor with arguments) when creating the + manager. */ virtual wxPropertyGrid* CreatePropertyGrid() const; };