]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_sizer.h
Keep wxPalmOS buildable after changes in wxConvAuto.
[wxWidgets.git] / include / wx / xrc / xh_sizer.h
index c3329e572f910aab4b473db25b78bef9f0a4c447..620a0a2c6b785408c40d5c632e991a192ca4f18b 100644 (file)
 #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_