mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +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);
|
||||
|
||||
wxLogWindow *logger;
|
||||
|
||||
bool SleepyHeadApp::OnInit()
|
||||
{
|
||||
// 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 :)
|
||||
|
||||
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);
|
||||
|
||||
wxLogDebug( wxVERSION_STRING );
|
||||
@ -70,9 +72,10 @@ bool SleepyHeadApp::OnInit()
|
||||
profile->LoadMachineData();
|
||||
// loader_progress->Show(false);
|
||||
|
||||
SleepyHeadFrame* frame = new SleepyHeadFrame(0L);
|
||||
SleepyHeadFrame* frame = new SleepyHeadFrame(0L);
|
||||
|
||||
frame->Show();
|
||||
frame->Show();
|
||||
//logger->Show(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -16,14 +16,14 @@ namespace AutoVersion{
|
||||
//Standard Version Type
|
||||
static const long MAJOR = 0;
|
||||
static const long MINOR = 7;
|
||||
static const long BUILD = 3709;
|
||||
static const long REVISION = 3483;
|
||||
static const long BUILD = 3716;
|
||||
static const long REVISION = 3516;
|
||||
|
||||
//Miscellaneous Version Types
|
||||
static const long BUILDS_COUNT = 1525;
|
||||
#define RC_FILEVERSION 0,7,3709,3483
|
||||
#define RC_FILEVERSION_STRING "0, 7, 3709, 3483\0"
|
||||
static const char FULLVERSION_STRING[] = "0.7.3709.3483";
|
||||
static const long BUILDS_COUNT = 1544;
|
||||
#define RC_FILEVERSION 0,7,3716,3516
|
||||
#define RC_FILEVERSION_STRING "0, 7, 3716, 3516\0"
|
||||
static const char FULLVERSION_STRING[] = "0.7.3716.3516";
|
||||
|
||||
//These values are to keep track of your versioning state, don't modify them.
|
||||
static const long BUILD_HISTORY = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user