X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4311ac1ef6753a5a1bfbee6d618d88069d589996..dc813e6c7ef8a9a26c035b004b512e1aa1b0bf3f:/include/wx/propgrid/manager.h diff --git a/include/wx/propgrid/manager.h b/include/wx/propgrid/manager.h index 26ff6a8688..5885072264 100644 --- a/include/wx/propgrid/manager.h +++ b/include/wx/propgrid/manager.h @@ -166,13 +166,6 @@ protected: bool allPages = false, bool fromAutoCenter = false ); - /** Propagate to other pages. - */ - void DoSetSplitterPositionThisPage( int pos, int splitterColumn = 0 ) - { - wxPropertyGridPageState::DoSetSplitterPosition( pos, splitterColumn ); - } - /** Page label (may be referred as name in some parts of documentation). Can be set in constructor, or passed in wxPropertyGridManager::AddPage(), but *not* in both. @@ -449,10 +442,12 @@ public: */ int GetPageByState( const wxPropertyGridPageState* pstate ) const; +protected: /** Returns wxPropertyGridPageState of given page, current page's for -1. */ virtual wxPropertyGridPageState* GetPageState( int page ) const; +public: /** Returns number of managed pages. */ size_t GetPageCount() const; @@ -617,15 +612,13 @@ protected: */ virtual wxPropertyGrid* CreatePropertyGrid() const; - virtual void RefreshProperty( wxPGProperty* p ); - public: + virtual void RefreshProperty( wxPGProperty* p ); // // Overridden functions - no documentation required. // - virtual wxSize DoGetBestSize() const; void SetId( wxWindowID winid ); virtual void Freeze(); @@ -635,11 +628,13 @@ public: virtual void SetWindowStyleFlag ( long style ); protected: + virtual wxSize DoGetBestSize() const; public: #ifndef SWIG + virtual bool ProcessEvent( wxEvent& event ); // // Event handlers // @@ -720,7 +715,7 @@ protected: /** (Re)creates/destroys controls, according to the window style bits. */ void RecreateControls(); - void RefreshHelpBox( int new_splittery, int new_width, int new_height ); + void UpdateDescriptionBox( int new_splittery, int new_width, int new_height ); void RepaintSplitter( wxDC& dc, int new_splittery, @@ -734,8 +729,6 @@ protected: virtual bool SetEditableStateItem( const wxString& name, wxVariant value ); virtual wxVariant GetEditableStateItem( const wxString& name ) const; - virtual bool ProcessEvent( wxEvent& event ); - private: DECLARE_EVENT_TABLE() #endif // #ifndef SWIG