// 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
void OnSysColourChanged(wxSysColourChangedEvent& event);
virtual bool IsModal() const;
void SetModal( bool modal );
- virtual void InitDialog(void);
-
virtual void SetIcon( const wxIcon &icon );
virtual void Iconize( bool WXUNUSED(iconize)) { }
virtual bool IsIconized() const { return FALSE; }
virtual bool IsModal() const;
void SetModal( bool modal );
- virtual void InitDialog(void);
-
virtual void SetIcon( const wxIcon &icon );
virtual void Iconize( bool WXUNUSED(iconize)) { }
virtual bool IsIconized() const { return FALSE; }
}
// ----------------------------------------------------------------------------
-// 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.
void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event)
{
Show( FALSE );
}
-void wxDialog::InitDialog()
-{
- wxWindow::InitDialog();
-}
-
void wxDialog::SetIcon( const wxIcon &icon )
{
m_icon = icon;
Show( FALSE );
}
-void wxDialog::InitDialog()
-{
- wxWindow::InitDialog();
-}
-
void wxDialog::SetIcon( const wxIcon &icon )
{
m_icon = icon;