]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/propgrid/propgrid.h
fix building with WXWIN_COMPATIBILITY_2_8 == 0
[wxWidgets.git] / samples / propgrid / propgrid.h
index a4c1ff613e3e78c8414fc02b1072d8716a647604..0d39094b2e0167a6e169982100c56c0896b8d592 100644 (file)
@@ -4,9 +4,8 @@
 // Author:      Jaakko Salli
 // Modified by:
 // Created:     2004-09-25
-// RCS-ID:      $Id$
 // Copyright:   (c) Jaakko Salli
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_SAMPLES_PROPGRID_PROPGRID_H_
@@ -76,8 +75,9 @@ public:
                     const wxVector3f& value = wxVector3f() );
     virtual ~wxVectorProperty();
 
-    virtual void ChildChanged( wxVariant& thisValue,
-                            int childIndex, wxVariant& childValue ) const;
+    virtual wxVariant ChildChanged( wxVariant& thisValue,
+                                    int childIndex,
+                                    wxVariant& childValue ) const;
     virtual void RefreshChildren();
 
 protected:
@@ -108,8 +108,9 @@ public:
                         const wxTriangle& value = wxTriangle() );
     virtual ~wxTriangleProperty();
 
-    virtual void ChildChanged( wxVariant& thisValue,
-                            int childIndex, wxVariant& childValue ) const;
+    virtual wxVariant ChildChanged( wxVariant& thisValue,
+                                    int childIndex,
+                                    wxVariant& childValue ) const;
     virtual void RefreshChildren();
 
 protected:
@@ -137,12 +138,17 @@ public:
     wxWindow*       m_panel;
     wxBoxSizer*     m_topSizer;
 
+#if wxUSE_LOGWINDOW
+    wxLogWindow*    m_logWindow;
+#endif
+
     wxPGEditor*     m_pSampleMultiButtonEditor;
     wxPGChoices     m_combinedFlags;
 
     wxMenuItem*     m_itemCatColours;
     wxMenuItem*     m_itemFreeze;
     wxMenuItem*     m_itemEnable;
+    wxMenuItem*     m_itemVetoDragging;
 
     wxVariant       m_storedValues;
 
@@ -178,10 +184,13 @@ public:
     void OnContextMenu( wxContextMenuEvent& event );
 
     void OnEnableDisable( wxCommandEvent& event );
-    void OnHideShow( wxCommandEvent& event );
+    void OnSetReadOnly( wxCommandEvent& event );
+    void OnHide( wxCommandEvent& event );
     void OnSetBackgroundColour( wxCommandEvent& event );
     void OnClearModifyStatusClick( wxCommandEvent& event );
     void OnFreezeClick( wxCommandEvent& event );
+    void OnEnableLabelEditing( wxCommandEvent& event );
+    void OnShowHeader( wxCommandEvent& event );
     void OnDumpList( wxCommandEvent& event );
     void OnCatColours( wxCommandEvent& event );
     void OnSetColumns( wxCommandEvent& event );
@@ -216,6 +225,8 @@ public:
     void OnIterate3Click( wxCommandEvent& event );
     void OnIterate4Click( wxCommandEvent& event );
 
+    void OnExtendedKeyNav( wxCommandEvent& event );
+
     void OnPropertyGridChange( wxPropertyGridEvent& event );
     void OnPropertyGridChanging( wxPropertyGridEvent& event );
     void OnPropertyGridSelect( wxPropertyGridEvent& event );
@@ -228,6 +239,11 @@ public:
     void OnPropertyGridKeyEvent( wxKeyEvent& event );
     void OnPropertyGridItemCollapse( wxPropertyGridEvent& event );
     void OnPropertyGridItemExpand( wxPropertyGridEvent& event );
+    void OnPropertyGridLabelEditBegin( wxPropertyGridEvent& event );
+    void OnPropertyGridLabelEditEnding( wxPropertyGridEvent& event );
+    void OnPropertyGridColBeginDrag( wxPropertyGridEvent& event );
+    void OnPropertyGridColDragging( wxPropertyGridEvent& event );
+    void OnPropertyGridColEndDrag( wxPropertyGridEvent& event );
 
     void OnAbout( wxCommandEvent& event );
 
@@ -237,6 +253,7 @@ public:
     void OnCloseEvent( wxCloseEvent& event );
 
     void OnIdle( wxIdleEvent& event );
+    void OnShowPopup( wxCommandEvent& event );
 
     void AddTestProperties( wxPropertyGridPage* pg );