MFC sample now works properly; WinMain not defined in wxMSW
if wxUSE_MFC is defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -264,7 +264,7 @@ BOOL CTheApp::OnIdle(LONG lCount)
|
||||
bool MyApp::OnInit(void)
|
||||
{
|
||||
// Don't exit app when the top level frame is deleted
|
||||
// SetExitOnFrameDelete(FALSE);
|
||||
SetExitOnFrameDelete(TRUE);
|
||||
|
||||
wxFrame* frame = CreateFrame();
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user