- bool MSWCreateControl(const wxChar *classname,
- const wxString& label,
- const wxPoint& pos,
- const wxSize& size);
-
- // NB: the method below is deprecated now, with MSWGetStyle() the method
- // above should be used instead! Once all the controls are updated to
- // implement MSWGetStyle() this version will disappear.
- //
- // create the control of the given class with the given style (combination
- // of WS_XXX flags, i.e. Windows style, not wxWidgets one), returns
- // FALSE if creation failed
- //
- // All parameters except classname and style are optional, if the
- // size/position are not given, they should be set later with SetSize()
- // and, label (the title of the window), of course, is left empty. The
- // extended style is determined from the style and the app 3D settings
- // automatically if it's not specified explicitly.
- bool MSWCreateControl(const wxChar *classname,
- WXDWORD style,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- const wxString& label = wxEmptyString,
- WXDWORD exstyle = (WXDWORD)-1);
-
- // default style for the control include WS_TABSTOP if it AcceptsFocus()
- virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+ bool PalmCreateControl(ControlStyleType style,
+ const wxString& label,
+ const wxPoint& pos,
+ const wxSize& size,
+ uint8_t groupID = 0);
+ inline bool IsPalmControl() const { return m_palmControl; }
+
+ bool PalmCreateField(const wxString& label,
+ const wxPoint& pos,
+ const wxSize& size,
+ bool editable,
+ bool underlined,
+ JustificationType justification);
+ inline bool IsPalmField() const { return m_palmField; }