Skip to content

Commit

Permalink
Remove connection of MyDllApp::OnIdle() handler in the dll sample.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vadz committed Dec 28, 2012
1 parent 5160f29 commit 91270d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion samples/dll/my_dll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 91270d2

Please sign in to comment.