- virtual void DoSetSize(int x, int y,
- int width, int height,
- int sizeFlags = wxSIZE_AUTO);
+ // 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);