]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
Minor corrections to native renderer. I also corrected
[wxWidgets.git] / src / msw / dialog.cpp
index 96d9a13b6490e88fb18ed3cac648c066ad0cf940..b01e767cfb9df410f66cfa5cbbbe3cb4b6c1f5bf 100644 (file)
@@ -200,6 +200,8 @@ bool wxDialog::Create(wxWindow *parent,
     return true;
 }
 
+#if WXWIN_COMPATIBILITY_2_6
+
 // deprecated ctor
 wxDialog::wxDialog(wxWindow *parent,
                    const wxString& title,
@@ -221,6 +223,8 @@ void wxDialog::SetModal(bool WXUNUSED(flag))
     // nothing to do, obsolete method
 }
 
+#endif // WXWIN_COMPATIBILITY_2_6
+
 wxDialog::~wxDialog()
 {
     m_isBeingDeleted = true;
@@ -233,11 +237,15 @@ wxDialog::~wxDialog()
 // showing the dialogs
 // ----------------------------------------------------------------------------
 
+#if WXWIN_COMPATIBILITY_2_6
+
 bool wxDialog::IsModalShowing() const
 {
     return IsModal();
 }
 
+#endif // WXWIN_COMPATIBILITY_2_6
+
 wxWindow *wxDialog::FindSuitableParent() const
 {
     // first try to use the currently active window