git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72579
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
public:
// ctors and dtor
{
public:
// ctors and dtor
- wxRadioBox() { Init(); }
wxRadioBox(wxWindow *parent,
wxWindowID id,
const wxString& title,
wxRadioBox(wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
Create( parent, id, title, pos, size, n, choices, majorDim, style, val, name );
}
Create( parent, id, title, pos, size, n, choices, majorDim, style, val, name );
}
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr)
{
Create( parent, id, title, pos, size, choices, majorDim, style, val, name );
}
Create( parent, id, title, pos, size, choices, majorDim, style, val, name );
}
class WXDLLIMPEXP_WEBVIEW wxWebViewWebKit : public wxWebView
{
public:
class WXDLLIMPEXP_WEBVIEW wxWebViewWebKit : public wxWebView
{
public:
- wxWebViewWebKit() { Init(); }
wxWebViewWebKit(wxWindow *parent,
wxWindowID id = wxID_ANY,
wxWebViewWebKit(wxWindow *parent,
wxWindowID id = wxID_ANY,
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxWebViewNameStr)
{
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxWebViewNameStr)
{
Create(parent, id, url, pos, size, style, name);
}
Create(parent, id, url, pos, size, style, name);
}
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
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.
// 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 ConstrainSize();
private:
enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max };
// common part of ScrollLines() and ScrollPages() and could be used, in the
enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max };
// common part of ScrollLines() and ScrollPages() and could be used, in the