]> git.saurik.com Git - wxWidgets.git/commitdiff
do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Nov 2008 23:44:59 +0000 (23:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Nov 2008 23:44:59 +0000 (23:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/manager.h
src/propgrid/manager.cpp

index 1ecbf84e88f64e9d784e0d0613a5160186eb09b7..26ff6a868885b565b06889656cc53c1da31a3ce3 100644 (file)
@@ -163,7 +163,8 @@ protected:
     */
     virtual void DoSetSplitterPosition( int pos,
                                         int splitterColumn = 0,
-                                        bool allPages = false );
+                                        bool allPages = false,
+                                        bool fromAutoCenter = false );
 
     /** Propagate to other pages.
     */
index c156cb3281088fb3a99f32a1a3482cc6764659e9..9c69c43d8d776cf26e81922234fd00ee75fbe9c8 100644 (file)
@@ -207,7 +207,10 @@ void wxPropertyGridPage::SetSplitterPosition( int splitterPos, int col )
         DoSetSplitterPosition(splitterPos, col, false);
 }
 
-void wxPropertyGridPage::DoSetSplitterPosition( int pos, int splitterColumn, bool allPages )
+void wxPropertyGridPage::DoSetSplitterPosition( int pos,
+                                                int splitterColumn,
+                                                bool allPages,
+                                                bool WXUNUSED(fromAutoCenter) )
 {
     if ( allPages && m_manager->GetPageCount() )
         m_manager->SetSplitterPosition( pos, splitterColumn );