]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/msgdlgg.cpp
added conversion to mac native filenames from local filesystem handler
[wxWidgets.git] / src / generic / msgdlgg.cpp
index ec65ed52bf8d17531ae0b1a6b6bbe8f3a0eda098..f4f383f6763991eccc4e1db452580a6284a52296 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_MSGDLG
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/dialog.h"
@@ -63,8 +65,6 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
 {
     m_dialogStyle = style;
 
-    wxBeginBusyCursor();
-
     wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
 
     wxBoxSizer *icon_text = new wxBoxSizer( wxHORIZONTAL );
@@ -103,8 +103,6 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
     }
 
     Centre( wxBOTH | wxCENTER_FRAME);
-
-    wxEndBusyCursor();
 }
 
 void wxGenericMessageDialog::OnYes(wxCommandEvent& WXUNUSED(event))
@@ -127,4 +125,5 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
     }
 }
 
+#endif // wxUSE_MSGDLG