- virtual void DoSetSize(int x, int y,
- int width, int height,
- int sizeFlags = wxSIZE_AUTO);
+ // send a notification event, return true if processed
+ bool SendClickEvent();
+
+ // default button handling
+ void SetTmpDefault();
+ void UnsetTmpDefault();
+
+ // set or unset BS_DEFPUSHBUTTON style
+ static void SetDefaultStyle(wxButton *btn, bool on);
+
+ virtual bool DoGetAuthNeeded() const;
+ virtual void DoSetAuthNeeded(bool show);
+
+ // true if the UAC symbol is shown
+ bool m_authNeeded;
+
+private:
+ void Init()
+ {
+ m_authNeeded = false;
+ }
+
+ void OnCharHook(wxKeyEvent& event);
+
+ wxDECLARE_EVENT_TABLE();
+ wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxButton);