-// A button is a control that contains a text string, and is one of the most
-// common elements of a GUI. It may be placed on a dialog box or panel, or
-// indeed almost any other window.
-//
-// Styles
-// wxBU_LEFT: Left-justifies the label. WIN32 only.
-// wxBU_TOP: Aligns the label to the top of the button. WIN32 only.
-// wxBU_RIGHT: Right-justifies the bitmap label. WIN32 only.
-// wxBU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only.
-// wxBU_EXACTFIT: Creates the button as small as possible instead of making
-// it of the standard size (which is the default behaviour.)
-//
-// Events
-// EVT_BUTTON(win,id,func):
-// Sent when the button is clicked.
-//
+DocStr(wxButton,
+ "A button is a control that contains a text string, and is one of the most\n"
+ "common elements of a GUI. It may be placed on a dialog box or panel, or\n"
+ "indeed almost any other window.");
+
+RefDoc(wxButton, "
+ Styles
+ wx.BU_LEFT: Left-justifies the label. WIN32 only.
+ wx.BU_TOP: Aligns the label to the top of the button. WIN32 only.
+ wx.BU_RIGHT: Right-justifies the bitmap label. WIN32 only.
+ wx.BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only.
+ wx.BU_EXACTFIT: Creates the button as small as possible instead of making
+ it of the standard size (which is the default behaviour.)
+
+ Events
+ EVT_BUTTON: Sent when the button is clicked.
+");
+