1. added encoding param to wxFontEncoding::EnumFamilies() which allows to get

the list of families supporting the given encoding
2. added encoding decoding logic to src/gtk/font.cpp so that now choosing an
   encoding different from default in GTK+ font selector dialog actually works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-29 17:54:13 +00:00
parent 8b99adf475
commit 36f210c81e
8 changed files with 279 additions and 125 deletions

View File

@@ -34,6 +34,7 @@ public:
virtual int GetMax() const { return m_max; }
// operations
virtual void SetValue(const wxString& value) = 0;
virtual void SetValue(int val) = 0;
virtual void SetRange(int minVal, int maxVal) = 0;
@@ -57,7 +58,7 @@ protected:
#elif defined(__WXGTK__)
#include "wx/gtk/spinctrl.h"
#else // Win16 || !Win
#include "wx/generic/spinctrl.h"
#include "wx/generic/spinctlg.h"
#endif // platform
#endif // _WX_SPINCTRL_H_