- if (m_dialogStyle & wxICON_MASK)
- if (message_size.y < 50) message_size.y = 50;
-
- if (m_dialogStyle & wxICON_INFORMATION)
- (void) new wxStaticBitmap( this, -1, wxBitmap( info_xpm ), wxPoint(15,message_size.y/2-16) );
- else
- if (m_dialogStyle & wxICON_HAND)
- (void) new wxStaticBitmap( this, -1, wxBitmap( error_xpm ), wxPoint(15,message_size.y/2-16) );
- else
- if (m_dialogStyle & wxICON_QUESTION)
- (void) new wxStaticBitmap( this, -1, wxBitmap( question_xpm ), wxPoint(15,message_size.y/2-16) );
- else
- if (m_dialogStyle & wxICON_EXCLAMATION)
- (void) new wxStaticBitmap( this, -1, wxBitmap( warning_xpm ), wxPoint(15,message_size.y/2-16) );
-
- wxButton *ok = (wxButton *) NULL;
- wxButton *cancel = (wxButton *) NULL;
- wxButton *yes = (wxButton *) NULL;
- wxButton *no = (wxButton *) NULL;
-
- int y = message_size.y + 30;
-
- if (style & wxYES_NO)