From: Vadim Zeitlin Date: Fri, 28 Dec 2012 16:02:11 +0000 (+0000) Subject: Remove connection of MyDllApp::OnIdle() handler in the dll sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/91270d2d17374f24a4de5108ea1a332190b827a6 Remove connection of MyDllApp::OnIdle() handler in the dll sample. This method didn't really exist, the code only worked because it connected to wxApp::OnIdle() which exists in wxMSW but not the other ports. Simply remove the apparently unnecessary call. See #13902. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dll/my_dll.cpp b/samples/dll/my_dll.cpp index 3aa93e9708..94afd5045b 100644 --- a/samples/dll/my_dll.cpp +++ b/samples/dll/my_dll.cpp @@ -148,7 +148,6 @@ MyDllApp::MyDllApp() // by shutting the thread down when it's no longer needed, though. SetExitOnFrameDelete(false); - Connect(wxEVT_IDLE, wxIdleEventHandler(MyDllApp::OnIdle)); Connect(CMD_SHOW_WINDOW, wxEVT_THREAD, wxThreadEventHandler(MyDllApp::OnShowWindow));