mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-19 04:00:45 +00:00
Trying wxLogWindow.. Add a menu option later to hide/show it
This commit is contained in:
parent
92f7295e11
commit
c9269b0d51
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user