X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8208e181cb576ec6cda37624923f95a59af43072..bada28f00f12666ef31f0543cea2cde86b7935c7:/src/mac/carbon/msgdlg.cpp diff --git a/src/mac/carbon/msgdlg.cpp b/src/mac/carbon/msgdlg.cpp index cf229e5200..bbdea6abf8 100644 --- a/src/mac/carbon/msgdlg.cpp +++ b/src/mac/carbon/msgdlg.cpp @@ -16,7 +16,9 @@ #include "wx/msgdlg.h" #include "wx/mac/uma.h" +#if !USE_SHARED_LIBRARY IMPLEMENT_CLASS(wxMessageDialog, wxDialog) +#endif #define kMacOKAlertResourceID 128 #define kMacYesNoAlertResourceID 129 @@ -70,7 +72,6 @@ int wxMessageDialog::ShowModal() Str255 pascalTitle ; Str255 pascalText ; - if (wxApp::s_macDefaultEncodingIsPC) { strcpy( (char*) pascalTitle , wxMacMakeMacStringFromPC( m_caption ) ) ;