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:
Vadim Zeitlin
2001-08-14 11:24:03 +00:00
parent 7946d7deaa
commit c40ce5ce77
6 changed files with 1 additions and 26 deletions

View File

@@ -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);

View File

@@ -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; }

View File

@@ -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; }

View File

@@ -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)
{ {

View File

@@ -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;

View File

@@ -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;