//#define wxUSE_DDE_FOR_IPC 0
#include <wx/ipc.h>
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "mondrian.xpm"
#endif
// Make a panel
m_panel = new wxPanel(this );
- m_modalbutton = new wxButton( this, BUTTON_MODAL, "Modal Dialog",
+ m_modalbutton = new wxButton( this, BUTTON_MODAL, "Modal Dialog",
wxPoint(10,10), wxDefaultSize );
}
sizerTop->Add(m_book1, 0, wxALIGN_CENTER | wxALL, 5);
sizerTop->Add(m_book2, 0, wxALIGN_CENTER | wxALL, 5);
- SetAutoLayout(true);
SetSizer(sizerTop);
sizerTop->SetSizeHints(this);