Skip to content
Snippets Groups Projects
Commit 59a0c359 authored by deuce's avatar deuce
Browse files

Move initialization code out of the auto-genreated block to prevent future

clobbering.
parent 8c9572b8
No related branches found
No related tags found
No related merge requests found
......@@ -26,14 +26,10 @@ extern "C" int lprintf(int level, const char *fmt, ...) /* log output */
SBBS_User_ListApp *App;
bool SBBS_User_ListApp::OnInit()
{
//(*AppInitialize
bool wxsOK = true;
wxString ctrlDir;
{ wxString ctrlDir;
char errstr[1024];
App=this;
wxInitAllImageHandlers();
/* Check config... */
if(!wxGetEnv(_("SBBSCTRL"), &ctrlDir)) {
......@@ -56,7 +52,11 @@ bool SBBS_User_ListApp::OnInit()
dlg->ShowModal();
return false;
}
//(*AppInitialize
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
SBBS_User_ListFrame* Frame = new SBBS_User_ListFrame(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment