added (half working) wxGTKRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,7 +22,10 @@ class WXDLLEXPORT wxInputHandler;
|
||||
// the actions supported by this control
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#define wxACTION_BUTTON_TOGGLE _T("toggle") // press/release the button
|
||||
#define wxACTION_BUTTON_TOGGLE _T("toggle") // press/release the button
|
||||
#define wxACTION_BUTTON_PRESS _T("press") // press the button
|
||||
#define wxACTION_BUTTON_RELEASE _T("release") // release the button
|
||||
#define wxACTION_BUTTON_CLICK _T("click") // generate button click event
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxButton: a push button
|
||||
@@ -62,6 +65,12 @@ public:
|
||||
virtual bool IsPressed() const { return m_isPressed; }
|
||||
virtual bool IsDefault() const { return m_isDefault; }
|
||||
|
||||
// wxButton actions
|
||||
void Press();
|
||||
void Release();
|
||||
void Toggle();
|
||||
void Click();
|
||||
|
||||
protected:
|
||||
virtual wxInputHandler *CreateInputHandler() const;
|
||||
virtual bool PerformAction(const wxControlAction& action);
|
||||
|
Reference in New Issue
Block a user