mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
Fixes tool menu not closing on screenshot
This commit is contained in:
parent
ca063d002d
commit
adca285cba
@ -7870,7 +7870,7 @@
|
|||||||
<sleeplib/machine.h>
|
<sleeplib/machine.h>
|
||||||
<list>
|
<list>
|
||||||
|
|
||||||
1306469484 /home/mark/projects/git/sleepyhead/version.h
|
1306469818 /home/mark/projects/git/sleepyhead/version.h
|
||||||
|
|
||||||
1306415077 /home/mark/projects/git/sleepyhead/libs/sleeplib/prs1_loader.h
|
1306415077 /home/mark/projects/git/sleepyhead/libs/sleeplib/prs1_loader.h
|
||||||
"machine.h"
|
"machine.h"
|
||||||
@ -7887,7 +7887,7 @@
|
|||||||
"preferences.h"
|
"preferences.h"
|
||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
|
|
||||||
1306469522 source:/home/mark/projects/git/sleepyhead/SleepyHeadMain.cpp
|
1306469818 source:/home/mark/projects/git/sleepyhead/SleepyHeadMain.cpp
|
||||||
"wx_pch.h"
|
"wx_pch.h"
|
||||||
"version.h"
|
"version.h"
|
||||||
<wx/app.h>
|
<wx/app.h>
|
||||||
|
@ -141,6 +141,7 @@ void SleepyHeadFrame::OnQuit(wxCommandEvent &event)
|
|||||||
|
|
||||||
void SleepyHeadFrame::OnScreenshot(wxCommandEvent& event)
|
void SleepyHeadFrame::OnScreenshot(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
|
Refresh(); // Make sure the menu is closed.. (It pushes the Update event in front of the manual event we push next)
|
||||||
wxCommandEvent MyEvent( wxEVT_DO_SCREENSHOT);
|
wxCommandEvent MyEvent( wxEVT_DO_SCREENSHOT);
|
||||||
wxPostEvent(this, MyEvent);
|
wxPostEvent(this, MyEvent);
|
||||||
}
|
}
|
||||||
|
12
version.h
12
version.h
@ -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 = 1244;
|
static const long BUILD = 1247;
|
||||||
static const long REVISION = 1258;
|
static const long REVISION = 1277;
|
||||||
|
|
||||||
//Miscellaneous Version Types
|
//Miscellaneous Version Types
|
||||||
static const long BUILDS_COUNT = 4784;
|
static const long BUILDS_COUNT = 4795;
|
||||||
#define RC_FILEVERSION 0,7,1244,1258
|
#define RC_FILEVERSION 0,7,1247,1277
|
||||||
#define RC_FILEVERSION_STRING "0, 7, 1244, 1258\0"
|
#define RC_FILEVERSION_STRING "0, 7, 1247, 1277\0"
|
||||||
static const char FULLVERSION_STRING[] = "0.7.1244.1258";
|
static const char FULLVERSION_STRING[] = "0.7.1247.1277";
|
||||||
|
|
||||||
//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 = 62;
|
static const long BUILD_HISTORY = 62;
|
||||||
|
Loading…
Reference in New Issue
Block a user