X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49bcad62198be60888dacf02edcbe9278b465fca..fc5414a1c6c55fcf9fd7f5bffb09b9b9eaf1d4bf:/src/common/appcmn.cpp?ds=inline diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 5bfa14b7f6..769a9d18b5 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -240,7 +240,7 @@ bool wxAppBase::OnCmdLineParsed(wxCmdLineParser& parser) return FALSE; } - if ( !SetDisplayMode(wxDisplayModeInfo(w, h, bpp)) ) + if ( !SetDisplayMode(wxVideoMode(w, h, bpp)) ) return FALSE; } #endif // __WXMGL__ @@ -605,14 +605,5 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable() #endif // !__WXMAC__ || __DARWIN__ } -GSocketBSD* wxGUIAppTraitsBase::CreateGSocket() -{ -#ifdef wxUSE_GSOCKET_CPLUSPLUS - return new GSocketBSDGUIShim(); -#else - return NULL; -#endif -} - #endif