removed redundant InitDialog methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,10 +73,6 @@ public:
|
|||||||
// implementation from now on
|
// implementation from now on
|
||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
// Sends an OnInitDialog event, which in turns transfers data to
|
|
||||||
// to the dialog via validators.
|
|
||||||
virtual void InitDialog();
|
|
||||||
|
|
||||||
// responds to colour changes
|
// responds to colour changes
|
||||||
void OnSysColourChanged(wxSysColourChangedEvent& event);
|
void OnSysColourChanged(wxSysColourChangedEvent& event);
|
||||||
|
|
||||||
|
@@ -74,8 +74,6 @@ public:
|
|||||||
virtual bool IsModal() const;
|
virtual bool IsModal() const;
|
||||||
void SetModal( bool modal );
|
void SetModal( bool modal );
|
||||||
|
|
||||||
virtual void InitDialog(void);
|
|
||||||
|
|
||||||
virtual void SetIcon( const wxIcon &icon );
|
virtual void SetIcon( const wxIcon &icon );
|
||||||
virtual void Iconize( bool WXUNUSED(iconize)) { }
|
virtual void Iconize( bool WXUNUSED(iconize)) { }
|
||||||
virtual bool IsIconized() const { return FALSE; }
|
virtual bool IsIconized() const { return FALSE; }
|
||||||
|
@@ -74,8 +74,6 @@ public:
|
|||||||
virtual bool IsModal() const;
|
virtual bool IsModal() const;
|
||||||
void SetModal( bool modal );
|
void SetModal( bool modal );
|
||||||
|
|
||||||
virtual void InitDialog(void);
|
|
||||||
|
|
||||||
virtual void SetIcon( const wxIcon &icon );
|
virtual void SetIcon( const wxIcon &icon );
|
||||||
virtual void Iconize( bool WXUNUSED(iconize)) { }
|
virtual void Iconize( bool WXUNUSED(iconize)) { }
|
||||||
virtual bool IsIconized() const { return FALSE; }
|
virtual bool IsIconized() const { return FALSE; }
|
||||||
|
@@ -82,16 +82,9 @@ wxPanel::~wxPanel()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// misc
|
// event handlers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
void wxPanel::InitDialog()
|
|
||||||
{
|
|
||||||
wxInitDialogEvent event(GetId());
|
|
||||||
event.SetEventObject(this);
|
|
||||||
GetEventHandler()->ProcessEvent(event);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Responds to colour changes, and passes event on to children.
|
// Responds to colour changes, and passes event on to children.
|
||||||
void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event)
|
void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event)
|
||||||
{
|
{
|
||||||
|
@@ -678,11 +678,6 @@ void wxDialog::EndModal( int retCode )
|
|||||||
Show( FALSE );
|
Show( FALSE );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDialog::InitDialog()
|
|
||||||
{
|
|
||||||
wxWindow::InitDialog();
|
|
||||||
}
|
|
||||||
|
|
||||||
void wxDialog::SetIcon( const wxIcon &icon )
|
void wxDialog::SetIcon( const wxIcon &icon )
|
||||||
{
|
{
|
||||||
m_icon = icon;
|
m_icon = icon;
|
||||||
|
@@ -678,11 +678,6 @@ void wxDialog::EndModal( int retCode )
|
|||||||
Show( FALSE );
|
Show( FALSE );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDialog::InitDialog()
|
|
||||||
{
|
|
||||||
wxWindow::InitDialog();
|
|
||||||
}
|
|
||||||
|
|
||||||
void wxDialog::SetIcon( const wxIcon &icon )
|
void wxDialog::SetIcon( const wxIcon &icon )
|
||||||
{
|
{
|
||||||
m_icon = icon;
|
m_icon = icon;
|
||||||
|
Reference in New Issue
Block a user