[Wgui-cvs] wgui/tests TestView2.cpp,1.11,1.12
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2004-12-27 22:59:44
|
Update of /cvsroot/wgui/wgui/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21641/tests Modified Files: TestView2.cpp Log Message: Work on the message box. Index: TestView2.cpp =================================================================== RCS file: /cvsroot/wgui/wgui/tests/TestView2.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** TestView2.cpp 27 Dec 2004 04:59:36 -0000 1.11 --- TestView2.cpp 27 Dec 2004 22:59:35 -0000 1.12 *************** *** 59,64 **** else if (pMessage->Source() == m_pShowMessageBoxButton) { ! new wGui::CMessageBox(this, 0, "Test MessageBox", "This is a message box.", wGui::CMessageBox::BUTTON_OK); ! new wGui::CMessageBox(this, 0, "Test MessageBox", "This is another message box.", wGui::CMessageBox::BUTTON_OK | wGui::CMessageBox::BUTTON_YES | wGui::CMessageBox::BUTTON_NO); wGui::CMessageServer::Instance().QueueMessage(new wGui::CMessage(wGui::CMessage::APP_PAINT, 0, this)); bHandled = true; --- 59,63 ---- else if (pMessage->Source() == m_pShowMessageBoxButton) { ! new wGui::CMessageBox(this, 0, "Test MessageBox", "This is a message box.", wGui::CMessageBox::BUTTON_OK | wGui::CMessageBox::BUTTON_CANCEL); wGui::CMessageServer::Instance().QueueMessage(new wGui::CMessage(wGui::CMessage::APP_PAINT, 0, this)); bHandled = true; |