return FALSE;
}
- if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) )
+ if ( !SetDisplayMode(wxVideoMode(w, h, bpp)) )
return FALSE;
}
#endif // __WXMGL__
wxLog *wxGUIAppTraitsBase::CreateLogTarget()
{
+#if wxUSE_LOGGUI
return new wxLogGui;
+#else
+ // wem ust have something!
+ return new wxLogStderr;
+#endif
}
#endif // wxUSE_LOG
wxT("You can also choose [Cancel] to suppress ")
wxT("further warnings.");
- switch ( wxMessageBox(msgDlg, wxT("wxWindows Debug Alert"),
+ switch ( wxMessageBox(msgDlg, wxT("wxWidgets Debug Alert"),
wxYES_NO | wxCANCEL | wxICON_STOP ) )
{
case wxYES:
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
{
+#if defined(__WINDOWS__) && defined(wxUSE_GSOCKET_CPLUSPLUS)
+ static GSocketGUIFunctionsTableConcrete table;
+ return &table;
+#else
#if defined(__WXMAC__) && !defined(__DARWIN__)
// NB: wxMac CFM does not have any GUI-specific functions in gsocket.c and
// so it doesn't need this table at all
};
return &table;
#endif // !__WXMAC__ || __DARWIN__
-}
-
-GSocketBSD* wxGUIAppTraitsBase::CreateGSocket()
-{
-#ifdef wxUSE_GSOCKET_CPLUSPLUS
- return new GSocketBSDGUIShim();
-#else
- return NULL;
-#endif
+#endif // defined(__WINDOWS__) && defined(wxUSE_GSOCKET_CPLUSPLUS)
}
#endif