Added Mac Screenshots Don't Work Taunt.

This commit is contained in:
Mark Watkins 2011-06-07 16:53:29 +10:00
parent 51cf4252d4
commit 70831ccbe5
3 changed files with 12 additions and 8 deletions

View File

@ -8295,7 +8295,7 @@
<sleeplib/machine.h>
<list>
1307425559 /home/mark/projects/git/sleepyhead/src/version.h
1307429469 /home/mark/projects/git/sleepyhead/src/version.h
1307418393 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
"machine.h"
@ -8312,7 +8312,7 @@
"preferences.h"
"tinyxml/tinyxml.h"
1307425549 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
1307429469 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
"wx_pch.h"
"version.h"
<wx/app.h>

View File

@ -211,6 +211,9 @@ void SleepyHeadFrame::DoScreenshot( wxCommandEvent &event )
r.height += j.height;
#endif
#if defined(__WXMAC__)
wxMessageBox(wxT("Sorry.. Screenshots don't work on your platform.\n\nPlease use your Mac's screenshot capability instead."),wxT("Naughty Apple!"),wxICON_EXCLAMATION,this);
#else
wxScreenDC sdc;
wxMemoryDC mdc;
@ -233,6 +236,7 @@ void SleepyHeadFrame::DoScreenshot( wxCommandEvent &event )
wxLogError(wxT("Couldn't save screenshot ")+filename);
}
}
#endif
}
void SleepyHeadFrame::OnShowSerial(wxCommandEvent& event)
{

View File

@ -16,14 +16,14 @@ namespace AutoVersion{
//Standard Version Type
static const long MAJOR = 0;
static const long MINOR = 7;
static const long BUILD = 3355;
static const long REVISION = 1458;
static const long BUILD = 3371;
static const long REVISION = 1550;
//Miscellaneous Version Types
static const long BUILDS_COUNT = 553;
#define RC_FILEVERSION 0,7,3355,1458
#define RC_FILEVERSION_STRING "0, 7, 3355, 1458\0"
static const char FULLVERSION_STRING[] = "0.7.3355.1458";
static const long BUILDS_COUNT = 592;
#define RC_FILEVERSION 0,7,3371,1550
#define RC_FILEVERSION_STRING "0, 7, 3371, 1550\0"
static const char FULLVERSION_STRING[] = "0.7.3371.1550";
//These values are to keep track of your versioning state, don't modify them.
static const long BUILD_HISTORY = 0;