#include "MultiDialog.h"
#include "IteratorX.h"
#include "ShuttleGui.h"
#include <wx/app.h>
#include <wx/icon.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/statbmp.h>
#include <wx/artprov.h>
#include <wx/radiobox.h>
#include <wx/bmpbuttn.h>
#include "wxPanelWrapper.h"
#include "LogWindow.h"
#include "Theme.h"
#include "AllThemeResources.h"
#include "HelpSystem.h"
Go to the source code of this file.
|
class | MultiDialog |
| A dialog presenting an exclusive, multiple choice, help button, and log info. More...
|
|
◆ ID_SHOW_LOG_BUTTON
#define ID_SHOW_LOG_BUTTON 3333 |
◆ ShowMultiDialog()
Definition at line 174 of file MultiDialog.cpp.
179{
180 wxWindow * pParent = wxTheApp->GetTopWindow();
181
182
183
184 if (pParent) {
185 if ((pParent->GetWindowStyle() & wxSTAY_ON_TOP) == wxSTAY_ON_TOP)
186 pParent = NULL;
187 }
189 message,
title, buttons, helpPage, boxMsg, log);
190
191 if (pParent != NULL)
192 dlog.CentreOnParent();
193 else {
194 dlog.CenterOnScreen();
195
196
197
198
199 wxSize
Size = dlog.GetSize();
200 Size.SetHeight( 10 );
201 wxPoint Pos = dlog.GetPosition() -
Size;
202 dlog.Move(Pos);
203 }
204 return dlog.ShowModal();
205}
A dialog presenting an exclusive, multiple choice, help button, and log info.
SizeType< float > Size
Alias for SizeType<float>
References title.