added (inline) wxLocale::IsOk()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
|||||||
// restores old locale
|
// restores old locale
|
||||||
~wxLocale();
|
~wxLocale();
|
||||||
|
|
||||||
|
// return TRUE if the locale was set successfully
|
||||||
|
bool IsOk() const { return m_pszOldLocale != NULL; }
|
||||||
|
|
||||||
// returns locale name
|
// returns locale name
|
||||||
const wxChar *GetLocale() const { return m_strLocale; }
|
const wxChar *GetLocale() const { return m_strLocale; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user