]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dll/my_dll.cpp
Don't use GetThreadId() in wxMSW code.
[wxWidgets.git] / samples / dll / my_dll.cpp
index 3aa93e97083ffcb0792fab0f398267f5d2837c7e..94afd5045b5b855d21ebf3a88ad8735801299912 100644 (file)
@@ -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));