first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,9 +71,11 @@ public:
|
||||
// to the dialog via validators.
|
||||
virtual void InitDialog();
|
||||
|
||||
#if wxUSE_BUTTON
|
||||
// a default button is activated when Enter is pressed
|
||||
wxButton *GetDefaultItem() const { return m_btnDefault; }
|
||||
void SetDefaultItem(wxButton *btn) { m_btnDefault = btn; }
|
||||
#endif // wxUSE_BUTTON
|
||||
|
||||
// implementation from now on
|
||||
// --------------------------
|
||||
@@ -109,8 +111,10 @@ protected:
|
||||
// the child which had the focus last time this panel was activated
|
||||
wxWindow *m_winLastFocused;
|
||||
|
||||
#if wxUSE_BUTTON
|
||||
// a default button or NULL
|
||||
wxButton *m_btnDefault;
|
||||
#endif // wxUSE_BUTTON
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxPanel)
|
||||
|
Reference in New Issue
Block a user