frame->SetIcon( wxICON(mondrian) );
- wxMenu *file_menu = new wxMenu;
+ wxMenu *file_menu = new wxMenu( wxMENU_TEAROFF );
file_menu->Append(MINIMAL_ABOUT, "&About\tF1");
file_menu->Append(MINIMAL_QUIT, "E&xit\tAlt-X", "Quit controls sample");
"An informative message",
max, // range
this, // parent
- wxPD_CAN_ABORT | wxPD_APP_MODAL);
+ wxPD_CAN_ABORT | wxPD_APP_MODAL | wxPD_ELAPSED_TIME | wxPD_ESTIMATED_TIME | wxPD_REMAINING_TIME);
bool cont = TRUE;
{
cont = dialog.Update(i);
}
- wxYield();
}
if ( !cont )