{
public:
// ctors and dtor
- wxRadioBox() { Init(); }
+ wxRadioBox() { }
wxRadioBox(wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
- Init();
-
Create( parent, id, title, pos, size, n, choices, majorDim, style, val, name );
}
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
- Init();
-
Create( parent, id, title, pos, size, choices, majorDim, style, val, name );
}
class WXDLLIMPEXP_WEBVIEW wxWebViewWebKit : public wxWebView
{
public:
- wxWebViewWebKit() { Init(); }
+ wxWebViewWebKit() { }
wxWebViewWebKit(wxWindow *parent,
wxWindowID id = wxID_ANY,
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxWebViewNameStr)
{
- Init();
-
Create(parent, id, url, pos, size, style, name);
}
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
- // common part of all ctors (not virtual because called from ctor)
- void Init();
-
// Create a GtkScrolledWindow containing the given widget (usually
// m_wxwindow but not necessarily) and assigns it to m_widget. Also shows
// the widget passed to it.
void ConstrainSize();
private:
+ void Init();
+
enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max };
// common part of ScrollLines() and ScrollPages() and could be used, in the