Create(parent, id, anim, pos, size, style, name);
}
- void Init();
-
bool Create(wxWindow *parent, wxWindowID id,
const wxAnimation& anim = wxNullAnimation,
const wxPoint& pos = wxDefaultPosition,
private:
typedef wxAnimationCtrlBase base_type;
+
+ void Init();
+
DECLARE_DYNAMIC_CLASS(wxAnimationCtrl)
DECLARE_EVENT_TABLE()
};
Create(parent, winid, label, pos, size, style, val, name);
}
- void Init()
- {
- m_bIgnoreNextChange = false;
- }
-
bool Create(wxWindow *parent,
wxWindowID winid,
const wxString& label,
wxString m_strLabel;
private:
+ void Init()
+ {
+ m_bIgnoreNextChange = false;
+ }
+
void OnSize(wxSizeEvent&);
virtual void AddChildGTK(wxWindowGTK* child);
GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
}
protected:
- void Init() { m_pngData = NULL; m_pngSize = 0; }
void Clear() { free(m_pngData); }
void ClearAll() { Clear(); Init(); }
void *m_pngData;
void DoConvertToPng();
+
+private:
+ void Init() { m_pngData = NULL; m_pngSize = 0; }
};
// ----------------------------------------------------------------------------
virtual void DoGetSize(int *width, int *height) const;
-protected:
+private:
void Init();
DECLARE_ABSTRACT_CLASS(wxScreenDCImpl)
virtual GtkCellRendererText *GtkGetTextRenderer() const;
-protected:
+private:
bool Init(wxDataViewCellMode mode, int align);
-private:
// Called from GtkGetTextRenderer() to really create the renderer if
// necessary.
void GtkInitTextRenderer();
virtual ~wxGtkFileCtrl() {}
- void Init();
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& defaultDirectory = wxEmptyString,
wxGtkFileChooser m_fc;
wxString m_wildCard;
+private:
+ void Init();
+
DECLARE_DYNAMIC_CLASS( wxGtkFileCtrl )
};
FILEDIRBTN_OVERRIDES
protected:
- // common part of all ctors
- void Init()
- {
- m_dialog = NULL;
- m_bIgnoreNextChange = false;
- }
-
wxDialog *m_dialog;
public: // used by the GTK callback only
void GTKUpdatePath(const char *gtkpath);
private:
+ void Init()
+ {
+ m_dialog = NULL;
+ m_bIgnoreNextChange = false;
+ }
+
DECLARE_DYNAMIC_CLASS(wxDirButton)
};
protected:
virtual void DoSetNativeFontInfo( const wxNativeFontInfo& info );
- // common part of all ctors
- void Init();
-
virtual wxGDIRefData* CreateGDIRefData() const;
virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const;
virtual wxFontFamily DoGetFamily() const;
private:
+ void Init();
+
DECLARE_DYNAMIC_CLASS(wxFont)
};
virtual bool SendIdleEvents(wxIdleEvent& event);
protected:
- // common part of all ctors
- void Init();
-
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoGetClientSize( int *width, int *height ) const;
#endif // wxUSE_MENUS_NATIVE
private:
+ void Init();
+
long m_fsSaveFlag;
DECLARE_DYNAMIC_CLASS(wxFrame)
m_gaugePos;
protected:
- // common part of all ctors
- void Init() { m_rangeMax = m_gaugePos = 0; }
-
// set the gauge value to the value of m_gaugePos
void DoSetGauge();
virtual wxSize DoGetBestSize() const;
private:
+ void Init() { m_rangeMax = m_gaugePos = 0; }
+
DECLARE_DYNAMIC_CLASS(wxGauge)
};
virtual void OnInternalIdle();
protected:
- void Init();
virtual void DoGetClientSize(int* width, int* height) const;
private:
friend class wxMDIChildFrame;
+ void Init();
DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
};
bool DoPhase(int phase);
#endif
- // common part of all ctors
- void Init();
-
// Called by GTK event handler when the current page is definitely changed.
void GTKOnPageChanged();
// the padding set by SetPadding()
int m_padding;
+ void Init();
virtual void AddChildGTK(wxWindowGTK* child);
DECLARE_DYNAMIC_CLASS(wxNotebook)
virtual void DoFreeze();
virtual void DoThaw();
- // common part of all ctors
- void Init();
-
// Widgets that use the style->base colour for the BG colour should
// override this and return true.
virtual bool UseGTKStyleBase() const { return true; }
void GTKSetJustification();
private:
+ void Init();
+
// overridden wxTextEntry virtual methods
virtual GtkEditable *GetEditable() const;
virtual GtkEntry *GetEntry() const;
virtual void DoSetSizeHints( int minW, int minH,
int maxW, int maxH,
int incW, int incH);
- // common part of all ctors
- void Init();
-
// move the window to the specified location and resize it
virtual void DoMoveWindow(int x, int y, int width, int height);
bool m_deferShow;
private:
+ void Init();
wxSize& GetCachedDecorSize();
// size hint increments