]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_sizer.h
MSLU with DMC build fix [#1469456].
[wxWidgets.git] / include / wx / xrc / xh_sizer.h
index 7159605584fb71446bdb59f74036854b94bab95c..620a0a2c6b785408c40d5c632e991a192ca4f18b 100644 (file)
 #ifndef _WX_XH_SIZER_H_
 #define _WX_XH_SIZER_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "xh_sizer.h"
-#endif
-
 #include "wx/xrc/xmlres.h"
 #include "wx/sizer.h"
 #include "wx/gbsizer.h"
@@ -33,7 +29,7 @@ public:
 private:
     bool m_isInside;
     bool m_isGBS;
-    
+
     wxSizer *m_parentSizer;
 
     bool IsSizerNode(wxXmlNode *node);
@@ -52,8 +48,24 @@ private:
     wxGBSpan GetGBSpan(const wxString& param);
     wxSizerItem* MakeSizerItem();
     void SetSizerItemAttributes(wxSizerItem* sitem);
-    void AddSizerItem(wxSizerItem* sitem);    
+    void AddSizerItem(wxSizerItem* sitem);
+};
+
+
+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_BOXSIZER_H_
+#endif // _WX_XH_SIZER_H_