Whitespace fix.
This commit is contained in:
parent
3dc738b5c5
commit
4622f1b833
|
@ -3324,10 +3324,10 @@ bool MainFrame::BindControls()
|
||||||
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
|
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
|
||||||
sc->SetValidator(wxGenericValidator(&o)); \
|
sc->SetValidator(wxGenericValidator(&o)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define getsc_uint(n, o) \
|
#define getsc_uint(n, o) \
|
||||||
do { \
|
do { \
|
||||||
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
|
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
|
||||||
sc->SetValidator(wxUIntValidator(&o)); \
|
sc->SetValidator(wxUIntValidator(&o)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
{
|
{
|
||||||
// Online Auto Update check frequency
|
// Online Auto Update check frequency
|
||||||
|
|
|
@ -923,7 +923,7 @@ void GameArea::Pause()
|
||||||
|
|
||||||
// when the game is paused like this, we should not allow any
|
// when the game is paused like this, we should not allow any
|
||||||
// input to remain pressed, because they could be released
|
// input to remain pressed, because they could be released
|
||||||
// outside of the game zone and we would not know about it.
|
// outside of the game zone and we would not know about it.
|
||||||
clear_input_press();
|
clear_input_press();
|
||||||
|
|
||||||
if (loaded != IMAGE_UNKNOWN)
|
if (loaded != IMAGE_UNKNOWN)
|
||||||
|
@ -2296,12 +2296,10 @@ DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height)
|
||||||
: DrawingPanel(parent, _width, _height)
|
: DrawingPanel(parent, _width, _height)
|
||||||
{
|
{
|
||||||
// FIXME: implement
|
// FIXME: implement
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
void DXDrawingPanel::DrawArea(wxWindowDC& dc)
|
||||||
{
|
{
|
||||||
|
|
||||||
// FIXME: implement
|
// FIXME: implement
|
||||||
if (!did_init) {
|
if (!did_init) {
|
||||||
DrawingPanelInit();
|
DrawingPanelInit();
|
||||||
|
|
|
@ -56,9 +56,9 @@ static void get_config_path(wxPathList& path, bool exists = true)
|
||||||
if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \
|
if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \
|
||||||
path.Add(s); \
|
path.Add(s); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define add_nonstandard_path(p) \
|
#define add_nonstandard_path(p) \
|
||||||
do { \
|
do { \
|
||||||
const wxString& s = p; \
|
const wxString& s = p; \
|
||||||
wxFileName parent = wxFileName::DirName(s + wxT("//..")); \
|
wxFileName parent = wxFileName::DirName(s + wxT("//..")); \
|
||||||
parent.MakeAbsolute(); \
|
parent.MakeAbsolute(); \
|
||||||
if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \
|
if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \
|
||||||
|
|
Loading…
Reference in New Issue