X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/329e86bfdedacf2736fa77eea1ae171c3c732355..bcbc841d417b8365e869003bb0552166f3ece204:/include/wx/generic/extdlgg.h diff --git a/include/wx/generic/extdlgg.h b/include/wx/generic/extdlgg.h index 7691d1cfbf..04d6980dda 100644 --- a/include/wx/generic/extdlgg.h +++ b/include/wx/generic/extdlgg.h @@ -62,6 +62,14 @@ public: { m_clientWindow = clientWindow; } wxWindow *GetClientWindow() { return m_clientWindow; } + void SetClientWindowMargin( int margin ) + { m_clientWindowMargin = margin; } + int GetClientWindowMargin() + { return m_clientWindowMargin; } + void SetSpacePerButton( wxSize space ) + { m_spacePerButton = space; } + wxSize GetSpacePerButton() + { return m_spacePerButton; } void AddButton( wxButton *button ); @@ -77,7 +85,7 @@ public: void OnYes(wxCommandEvent& event); void OnNo(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); - + protected: wxWindow *m_clientWindow; long m_extraStyle; @@ -85,7 +93,9 @@ protected: #if wxUSE_STATLINE wxStaticLine *m_statLine; #endif - + int m_clientWindowMargin; + wxSize m_spacePerButton; + wxSize LayoutButtons(); private: