]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/propgrid/propgrid.h
do only what is necessary in SetScrollbars(), let the base class do the rest
[wxWidgets.git] / samples / propgrid / propgrid.h
index bec86c7991eee529ef367cfd29b71d8163648fe4..a4c1ff613e3e78c8414fc02b1072d8716a647604 100644 (file)
@@ -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 );