X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..e2ca6599064412d76ad84076b8ba90db8cfef65c:/src/mgl/utils.cpp?ds=sidebyside diff --git a/src/mgl/utils.cpp b/src/mgl/utils.cpp index 4a3045cef1..25618fdb3c 100644 --- a/src/mgl/utils.cpp +++ b/src/mgl/utils.cpp @@ -123,7 +123,7 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const return wxPORT_MGL; } -wxEventLoop* wxGUIAppTraits::CreateEventLoop() +wxEventLoopBase* wxGUIAppTraits::CreateEventLoop() { return new wxEventLoop; } @@ -164,21 +164,3 @@ wxMouseState wxGetMouseState() return ms; } - -#ifdef __UNIX__ - -int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) -{ - wxFAIL_MSG(wxT("wxAddProcessCallback not implemented in wxMGL!")); - return 0; -#if 0 // FIXME_MGL -do we need it at all? - int tag = gdk_input_add(fd, - GDK_INPUT_READ, - GTK_EndProcessDetector, - (gpointer)proc_data); - - return tag; -#endif -} - -#endif