Main MRPT website
>
C++ reference for MRPT 1.9.9
about_box_wx.cpp
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
10
#include "
gui-precomp.h
"
// Precompiled headers
11
12
#include <
mrpt/gui/about_box.h
>
13
14
#if MRPT_HAS_WXWIDGETS
15
#include "
CAboutBox_wx.h
"
16
#endif
17
18
void
mrpt::gui::show_mrpt_about_box_wxWidgets
(
19
void
* parent_wx_window,
const
std::string
& appName,
20
const
std::string
& additionalInfo,
const
bool
showStandardInfo)
21
{
22
#if MRPT_HAS_WXWIDGETS
23
wxWindow* parent =
reinterpret_cast<
wxWindow*
>
(parent_wx_window);
24
CAboutBox
dlg(parent, appName, additionalInfo, showStandardInfo);
25
dlg.ShowModal();
26
#else
27
THROW_EXCEPTION
(
"MRPT compiled without wxWidgets support"
);
28
#endif
29
}
CAboutBox_wx.h
about_box.h
CAboutBox
Definition:
CAboutBox_wx.h:25
string
GLsizei const GLchar ** string
Definition:
glext.h:4101
gui-precomp.h
THROW_EXCEPTION
#define THROW_EXCEPTION(msg)
Definition:
mrpt_macros.h:111
mrpt::gui::show_mrpt_about_box_wxWidgets
void show_mrpt_about_box_wxWidgets(void *parent_wx_window, const std::string &appName, const std::string &additionalInfo=std::string(), const bool showStandardInfo=true)
Shows the standard MRPT GUI "About Box" (wxWidgets version)
Definition:
about_box_wx.cpp:18
Page generated by
Doxygen 1.9.1
for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST