X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c9ff74f050981e989f09cf5f5d27044b807e73a..74b720793f9d312566450461fac394e5e456ae5d:/include/wx/xrc/xh_sizer.h diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index c3329e572f..620a0a2c6b 100644 --- a/include/wx/xrc/xh_sizer.h +++ b/include/wx/xrc/xh_sizer.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_sizer.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/sizer.h" #include "wx/gbsizer.h" @@ -56,4 +52,20 @@ private: }; -#endif // _WX_XH_BOXSIZER_H_ +class WXDLLIMPEXP_XRC wxStdDialogButtonSizerXmlHandler + : public wxXmlResourceHandler +{ +public: + wxStdDialogButtonSizerXmlHandler(); + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); + +private: + bool m_isInside; + wxStdDialogButtonSizer *m_parentSizer; + + DECLARE_DYNAMIC_CLASS(wxStdDialogButtonSizerXmlHandler) +}; + + +#endif // _WX_XH_SIZER_H_