diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index f69d9939d9..8924bcc391 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -540,7 +540,7 @@ public: wxWindow *windowToUse = NULL); // Gets a direction, complains if the value is invalid. - wxDirection GetDirection(const wxString& param, wxDirection dir = wxLEFT); + wxDirection GetDirection(const wxString& param, wxDirection dirDefault = wxLEFT); // Gets a bitmap. wxBitmap GetBitmap(const wxString& param = wxT("bitmap"), diff --git a/interface/wx/xrc/xmlres.h b/interface/wx/xrc/xmlres.h index a264d2ab39..72583a6e86 100644 --- a/interface/wx/xrc/xmlres.h +++ b/interface/wx/xrc/xmlres.h @@ -578,14 +578,14 @@ protected: /** Gets a direction. - If the given @a param is not present or has empty value, @a dir is + If the given @a param is not present or has empty value, @a dirDefault is returned by default. Otherwise the value of the parameter is parsed and a warning is generated if it's not one of @c wxLEFT, @c wxTOP, @c wxRIGHT or @c wxBOTTOM. @since 2.9.3 */ - wxDirection GetDirection(const wxString& param, wxDirection dir = wxLEFT); + wxDirection GetDirection(const wxString& param, wxDirection dirDefault = wxLEFT); /** Gets a font.