Trying wxLogWindow.. Add a menu option later to hide/show it

This commit is contained in:
Mark Watkins 2011-06-08 19:39:56 +10:00
parent 92f7295e11
commit c9269b0d51
3 changed files with 309 additions and 305 deletions

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,8 @@
IMPLEMENT_APP(SleepyHeadApp); IMPLEMENT_APP(SleepyHeadApp);
wxLogWindow *logger;
bool SleepyHeadApp::OnInit() bool SleepyHeadApp::OnInit()
{ {
// Initialize the logger // Initialize the logger
@ -41,7 +43,7 @@ bool SleepyHeadApp::OnInit()
// It helps to allocate the logger on the heap.. This show work for all platforms now :) // It helps to allocate the logger on the heap.. This show work for all platforms now :)
wxLog *logger=new wxLogStderr(NULL); //LogWindow(NULL,wxT("Debug"),true,true); logger=new wxLogWindow(NULL,wxT("Debug"),true,true); //new wxLogStderr(NULL); //
wxLog::SetActiveTarget(logger); wxLog::SetActiveTarget(logger);
wxLogDebug( wxVERSION_STRING ); wxLogDebug( wxVERSION_STRING );
@ -73,6 +75,7 @@ bool SleepyHeadApp::OnInit()
SleepyHeadFrame* frame = new SleepyHeadFrame(0L); SleepyHeadFrame* frame = new SleepyHeadFrame(0L);
frame->Show(); frame->Show();
//logger->Show(false);
return true; return true;
} }

View File

@ -16,14 +16,14 @@ namespace AutoVersion{
//Standard Version Type //Standard Version Type
static const long MAJOR = 0; static const long MAJOR = 0;
static const long MINOR = 7; static const long MINOR = 7;
static const long BUILD = 3709; static const long BUILD = 3716;
static const long REVISION = 3483; static const long REVISION = 3516;
//Miscellaneous Version Types //Miscellaneous Version Types
static const long BUILDS_COUNT = 1525; static const long BUILDS_COUNT = 1544;
#define RC_FILEVERSION 0,7,3709,3483 #define RC_FILEVERSION 0,7,3716,3516
#define RC_FILEVERSION_STRING "0, 7, 3709, 3483\0" #define RC_FILEVERSION_STRING "0, 7, 3716, 3516\0"
static const char FULLVERSION_STRING[] = "0.7.3709.3483"; static const char FULLVERSION_STRING[] = "0.7.3716.3516";
//These values are to keep track of your versioning state, don't modify them. //These values are to keep track of your versioning state, don't modify them.
static const long BUILD_HISTORY = 0; static const long BUILD_HISTORY = 0;