X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea5af9c5356676a5c4d81b4d4915ad32ca3c9c6e..8aa40b04f87deb33b41efab7a6a28fc9fc053d8d:/samples/propgrid/propgrid.h diff --git a/samples/propgrid/propgrid.h b/samples/propgrid/propgrid.h index bec86c7991..a4c1ff613e 100644 --- a/samples/propgrid/propgrid.h +++ b/samples/propgrid/propgrid.h @@ -72,12 +72,12 @@ class wxVectorProperty : public wxPGProperty public: wxVectorProperty( const wxString& label = wxPG_LABEL, - const wxString& name = wxPG_LABEL, - const wxVector3f& value = wxVector3f() ); + const wxString& name = wxPG_LABEL, + const wxVector3f& value = wxVector3f() ); virtual ~wxVectorProperty(); virtual void ChildChanged( wxVariant& thisValue, - int childIndex, wxVariant& childValue ) const; + int childIndex, wxVariant& childValue ) const; virtual void RefreshChildren(); protected: @@ -109,7 +109,7 @@ public: virtual ~wxTriangleProperty(); virtual void ChildChanged( wxVariant& thisValue, - int childIndex, wxVariant& childValue ) const; + int childIndex, wxVariant& childValue ) const; virtual void RefreshChildren(); protected: @@ -128,7 +128,7 @@ class FormMain : public wxFrame { public: FormMain(const wxString& title, const wxPoint& pos, const wxSize& size ); - ~FormMain(); + ~FormMain(); wxPropertyGridManager* m_pPropGridManager; wxPropertyGrid* m_propGrid; @@ -150,6 +150,7 @@ public: void CreateGrid( int style, int extraStyle ); + void FinalizeFramePosition(); // These are used in CreateGrid(), and in tests to compose // grids for testing purposes. @@ -178,6 +179,7 @@ public: void OnEnableDisable( wxCommandEvent& event ); void OnHideShow( wxCommandEvent& event ); + void OnSetBackgroundColour( wxCommandEvent& event ); void OnClearModifyStatusClick( wxCommandEvent& event ); void OnFreezeClick( wxCommandEvent& event ); void OnDumpList( wxCommandEvent& event );