Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
App.h
1 //
2 // App.h
3 //
4 // Copyright (c) 2001-2004 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 class BuilderApp: public wxApp
9 {
10 public:
11  void Args(int argc, wxChar **argv);
12  bool OnInit();
13  int OnExit();
14  wxString GetLanguageCode() { return m_locale.GetCanonicalName(); }
15 
16 protected:
17  void SetupLocale();
18 
19  wxLocale m_locale; // locale we'll be using
20  vtString m_locale_name;
21 };
22