projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add wrappers to avoid compiling code which will never be used
[wxWidgets.git]
/
include
/
wx
/
gtk
/
radiobut.h
diff --git
a/include/wx/gtk/radiobut.h
b/include/wx/gtk/radiobut.h
index 9a54dffa626515468d1c0d45f255150b02916401..e1a1d6275e1703f87407dcace800494c19120110 100644
(file)
--- a/
include/wx/gtk/radiobut.h
+++ b/
include/wx/gtk/radiobut.h
@@
-7,8
+7,8
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef _
_GTKRADIOBUTTONH_
_
-#define _
_GTKRADIOBUTTONH_
_
+#ifndef _
WX_GTK_RADIOBUT_H
_
+#define _
WX_GTK_RADIOBUT_H
_
//-----------------------------------------------------------------------------
// wxRadioButton
//-----------------------------------------------------------------------------
// wxRadioButton
@@
-42,26
+42,21
@@
public:
virtual void SetLabel(const wxString& label);
virtual void SetValue(bool val);
virtual bool GetValue() const;
virtual void SetLabel(const wxString& label);
virtual void SetValue(bool val);
virtual bool GetValue() const;
- virtual bool Enable( bool enable =
TRUE
);
+ virtual bool Enable( bool enable =
true
);
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
- // implementation
-
- virtual bool IsRadioButton() const { return TRUE; }
-
- void DoApplyWidgetStyle(GtkRcStyle *style);
- bool IsOwnGtkWindow( GdkWindow *window );
- void OnInternalIdle();
-
- bool m_blockEvent;
-
protected:
protected:
- virtual wxSize DoGetBestSize() const;
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+ virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
private:
private:
+ typedef wxControl base_type;
+
DECLARE_DYNAMIC_CLASS(wxRadioButton)
};
DECLARE_DYNAMIC_CLASS(wxRadioButton)
};
-#endif // _
_GTKRADIOBUTTONH_
_
+#endif // _
WX_GTK_RADIOBUT_H
_