Ok that helps a little :)
But it leads me to an other question.
Why do I see no dialog after compiling and running that wiki code?
I just created a wx project with default settings and replaced the BC default oninit()
with the following one
bool wxTest7App::OnInit()
{
wxFrame *frame = new wxFrame((wxFrame*) NULL, -1, _T("Hello wxWidgets World"));
frame->CreateStatusBar();
frame->SetStatusText(_T("Hello World"));
frame->Show(TRUE);
SetTopWindow(frame);
return true;
}
I tried to debug but I can put breakpoints to anywhere. The program starts end ends, with no stop between. :(
I guess you are trying to Print some output from your wx App to Console in Debug mode.
If you are using the wizard, it sets the app to Window type. If you wish to compile your wx application in console mode, then you have to manually edit the project file created by the wizard.
Open the project file in a text editor. Then search for the the following lines.
<Target title="Debug">
<Option output="bin/Debug/TestWX" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="0" />
Change the last line to -
This will compile ur app in Console mode.
But I've never tried this option. So I can't assure you success. :)