X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7260478196b59ffd83c3328f710ba6f45860428..365796b153d710b08a03b92de241574d01c498d7:/src/generic/msgdlgg.cpp diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 19e4307b25..7e2d9de6c0 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "msgdlgg.h" #endif @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if wxUSE_MSGDLG +#if wxUSE_MSGDLG && !defined(__WXGTK20__) #ifndef WX_PRECOMP #include "wx/utils.h" @@ -67,7 +67,9 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, { m_dialogStyle = style; +#if wxUSE_STATIC_BITMAP bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); +#endif wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); @@ -160,5 +162,5 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) } } -#endif // wxUSE_MSGDLG +#endif // wxUSE_MSGDLG && !defined(__WXGTK20__)