]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Added wxFopen to the MSLU code.
[wxWidgets.git] / include / wx / sizer.h
index 35d020ad88285f5c6b6dd769155b357b413c0b5b..1f76fc0554946f9b44517f1231e5f41674729834 100644 (file)
@@ -642,6 +642,8 @@ private:
 
 #endif // wxUSE_STATBOX
 
 
 #endif // wxUSE_STATBOX
 
+#if wxUSE_BUTTON
+
 class WXDLLEXPORT wxStdDialogButtonSizer: public wxBoxSizer
 {
 public:
 class WXDLLEXPORT wxStdDialogButtonSizer: public wxBoxSizer
 {
 public:
@@ -667,7 +669,7 @@ public:
     // I wouldn't add any other hacks like that into here,
     // but this one I can see being useful.
     void Finalise();
     // I wouldn't add any other hacks like that into here,
     // but this one I can see being useful.
     void Finalise();
-    
+
     wxButton *GetAffirmativeButton() const { return m_buttonAffirmative; }
     wxButton *GetApplyButton() const { return m_buttonApply; }
     wxButton *GetNegativeButton() const { return m_buttonNegative; }
     wxButton *GetAffirmativeButton() const { return m_buttonAffirmative; }
     wxButton *GetApplyButton() const { return m_buttonApply; }
     wxButton *GetNegativeButton() const { return m_buttonNegative; }
@@ -680,12 +682,14 @@ protected:
     wxButton *m_buttonNegative;     // wxID_NO
     wxButton *m_buttonCancel;
     wxButton *m_buttonHelp;
     wxButton *m_buttonNegative;     // wxID_NO
     wxButton *m_buttonCancel;
     wxButton *m_buttonHelp;
-    
+
 private:
     DECLARE_CLASS(wxStdDialogButtonSizer)
     DECLARE_NO_COPY_CLASS(wxStdDialogButtonSizer)
 };
 
 private:
     DECLARE_CLASS(wxStdDialogButtonSizer)
     DECLARE_NO_COPY_CLASS(wxStdDialogButtonSizer)
 };
 
+#endif // wxUSE_BUTTON
+
 #if WXWIN_COMPATIBILITY_2_4
 // NB: wxBookCtrlSizer and wxNotebookSizer are deprecated, they
 //     don't do anything. wxBookCtrlBase::DoGetBestSize does the job now.
 #if WXWIN_COMPATIBILITY_2_4
 // NB: wxBookCtrlSizer and wxNotebookSizer are deprecated, they
 //     don't do anything. wxBookCtrlBase::DoGetBestSize does the job now.