summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f33a5bc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72604
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
14 files changed:
Create(parent, id, anim, pos, size, style, name);
}
Create(parent, id, anim, pos, size, style, name);
}
bool Create(wxWindow *parent, wxWindowID id,
const wxAnimation& anim = wxNullAnimation,
const wxPoint& pos = wxDefaultPosition,
bool Create(wxWindow *parent, wxWindowID id,
const wxAnimation& anim = wxNullAnimation,
const wxPoint& pos = wxDefaultPosition,
private:
typedef wxAnimationCtrlBase base_type;
private:
typedef wxAnimationCtrlBase base_type;
DECLARE_DYNAMIC_CLASS(wxAnimationCtrl)
DECLARE_EVENT_TABLE()
};
DECLARE_DYNAMIC_CLASS(wxAnimationCtrl)
DECLARE_EVENT_TABLE()
};
Create(parent, winid, label, pos, size, style, val, name);
}
Create(parent, winid, label, pos, size, style, val, name);
}
- void Init()
- {
- m_bIgnoreNextChange = false;
- }
-
bool Create(wxWindow *parent,
wxWindowID winid,
const wxString& label,
bool Create(wxWindow *parent,
wxWindowID winid,
const wxString& label,
wxString m_strLabel;
private:
wxString m_strLabel;
private:
+ void Init()
+ {
+ m_bIgnoreNextChange = false;
+ }
+
void OnSize(wxSizeEvent&);
virtual void AddChildGTK(wxWindowGTK* child);
GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
void OnSize(wxSizeEvent&);
virtual void AddChildGTK(wxWindowGTK* child);
GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
- void Init() { m_pngData = NULL; m_pngSize = 0; }
void Clear() { free(m_pngData); }
void ClearAll() { Clear(); Init(); }
void Clear() { free(m_pngData); }
void ClearAll() { Clear(); Init(); }
void *m_pngData;
void DoConvertToPng();
void *m_pngData;
void DoConvertToPng();
+
+private:
+ void Init() { m_pngData = NULL; m_pngSize = 0; }
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
virtual void DoGetSize(int *width, int *height) const;
virtual void DoGetSize(int *width, int *height) const;
void Init();
DECLARE_ABSTRACT_CLASS(wxScreenDCImpl)
void Init();
DECLARE_ABSTRACT_CLASS(wxScreenDCImpl)
virtual GtkCellRendererText *GtkGetTextRenderer() const;
virtual GtkCellRendererText *GtkGetTextRenderer() const;
bool Init(wxDataViewCellMode mode, int align);
bool Init(wxDataViewCellMode mode, int align);
// Called from GtkGetTextRenderer() to really create the renderer if
// necessary.
void GtkInitTextRenderer();
// Called from GtkGetTextRenderer() to really create the renderer if
// necessary.
void GtkInitTextRenderer();
virtual ~wxGtkFileCtrl() {}
virtual ~wxGtkFileCtrl() {}
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& defaultDirectory = wxEmptyString,
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& defaultDirectory = wxEmptyString,
wxGtkFileChooser m_fc;
wxString m_wildCard;
wxGtkFileChooser m_fc;
wxString m_wildCard;
+private:
+ void Init();
+
DECLARE_DYNAMIC_CLASS( wxGtkFileCtrl )
};
DECLARE_DYNAMIC_CLASS( wxGtkFileCtrl )
};
FILEDIRBTN_OVERRIDES
protected:
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
wxDialog *m_dialog;
public: // used by the GTK callback only
void GTKUpdatePath(const char *gtkpath);
private:
void GTKUpdatePath(const char *gtkpath);
private:
+ void Init()
+ {
+ m_dialog = NULL;
+ m_bIgnoreNextChange = false;
+ }
+
DECLARE_DYNAMIC_CLASS(wxDirButton)
};
DECLARE_DYNAMIC_CLASS(wxDirButton)
};
protected:
virtual void DoSetNativeFontInfo( const wxNativeFontInfo& info );
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:
virtual wxGDIRefData* CreateGDIRefData() const;
virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const;
virtual wxFontFamily DoGetFamily() const;
private:
DECLARE_DYNAMIC_CLASS(wxFont)
};
DECLARE_DYNAMIC_CLASS(wxFont)
};
virtual bool SendIdleEvents(wxIdleEvent& event);
protected:
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;
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoGetClientSize( int *width, int *height ) const;
#endif // wxUSE_MENUS_NATIVE
private:
#endif // wxUSE_MENUS_NATIVE
private:
long m_fsSaveFlag;
DECLARE_DYNAMIC_CLASS(wxFrame)
long m_fsSaveFlag;
DECLARE_DYNAMIC_CLASS(wxFrame)
- // 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:
// 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)
};
DECLARE_DYNAMIC_CLASS(wxGauge)
};
virtual void OnInternalIdle();
protected:
virtual void OnInternalIdle();
protected:
virtual void DoGetClientSize(int* width, int* height) const;
private:
friend class wxMDIChildFrame;
virtual void DoGetClientSize(int* width, int* height) const;
private:
friend class wxMDIChildFrame;
DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
};
DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
};
bool DoPhase(int phase);
#endif
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();
// Called by GTK event handler when the current page is definitely changed.
void GTKOnPageChanged();
// the padding set by SetPadding()
int m_padding;
// the padding set by SetPadding()
int m_padding;
virtual void AddChildGTK(wxWindowGTK* child);
DECLARE_DYNAMIC_CLASS(wxNotebook)
virtual void AddChildGTK(wxWindowGTK* child);
DECLARE_DYNAMIC_CLASS(wxNotebook)
virtual void DoFreeze();
virtual void DoThaw();
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; }
// 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 GTKSetJustification();
private:
// overridden wxTextEntry virtual methods
virtual GtkEditable *GetEditable() const;
virtual GtkEntry *GetEntry() const;
// 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);
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);
// 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:
bool m_deferShow;
private:
wxSize& GetCachedDecorSize();
// size hint increments
wxSize& GetCachedDecorSize();
// size hint increments