From 30cb0f8f630fcca11cb46ef024bc70511f3a08b0 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Sat, 11 Feb 2023 16:21:02 -0700 Subject: [PATCH] Wx files working --- swigtemplates/app.i | 4 +- swigtemplates/frame.i | 4 +- wxheaders/wx/android/setup.h | 58 +- wxheaders/wx/any.h | 11 +- wxheaders/wx/anybutton.h | 5 +- wxheaders/wx/app.h | 103 +- wxheaders/wx/button.h | 5 +- wxheaders/wx/control.h | 4 + wxheaders/wx/defs.h | 44 +- wxheaders/wx/generic/calctrlg.h | 7 +- wxheaders/wx/generic/grideditors.h | 4 +- wxheaders/wx/generic/private/drawbitmap.h | 41 + wxheaders/wx/generic/private/listctrl.h | 12 +- wxheaders/wx/glcanvas.h | 4 + wxheaders/wx/gtk/private/gtk2-compat.h | 14 + wxheaders/wx/gtk/setup.h | 58 +- wxheaders/wx/matrix.h | 6 +- wxheaders/wx/motif/setup.h | 58 +- wxheaders/wx/msw/combobox.h | 8 + wxheaders/wx/msw/menuitem.h | 3 + wxheaders/wx/msw/msvcrt.h | 10 + wxheaders/wx/msw/private/tlwgeom.h | 32 + wxheaders/wx/msw/private/webview_edge.h | 1 + wxheaders/wx/msw/setup.h | 58 +- wxheaders/wx/msw/textctrl.h | 9 +- wxheaders/wx/msw/toplevel.h | 9 + wxheaders/wx/msw/webview_edge.h | 1 + wxheaders/wx/msw/wx.rc | 17 +- wxheaders/wx/osx/config_xcode.h | 4 +- wxheaders/wx/osx/setup.h | 58 +- wxheaders/wx/osx/window.h | 4 +- wxheaders/wx/panel.h | 4 + wxheaders/wx/private/jsscriptwrapper.h | 58 +- wxheaders/wx/propgrid/editors.h | 1 + wxheaders/wx/radiobut.h | 4 + wxheaders/wx/sckaddr.h | 1 + wxheaders/wx/setup_inc.h | 58 +- wxheaders/wx/simplebook.h | 19 + wxheaders/wx/sound.h | 4 + wxheaders/wx/thread.h | 2 +- wxheaders/wx/thrimpl.cpp | 4 +- wxheaders/wx/uilocale.h | 8 + wxheaders/wx/univ/setup.h | 58 +- wxheaders/wx/unix/glegl.h | 2 + wxheaders/wx/vector.h | 10 + wxheaders/wx/version.h | 4 +- wxheaders/wx/webview.h | 12 + wxheaders/wx/window.h | 263 +- wxheaders/wx/withimages.h | 64 + wxheaders/wxext/app_ext.h | 2201 ++++++++++++++- wxheaders/wxext/app_ext2.h | 3032 --------------------- wxheaders/wxext/frame_ext.h | 144 +- wxheaders/wxext/frame_ext2.h | 1704 ------------ wxheaders/wxext/window_ext.h | 41 +- 54 files changed, 3157 insertions(+), 5197 deletions(-) create mode 100644 wxheaders/wx/generic/private/drawbitmap.h delete mode 100644 wxheaders/wxext/app_ext2.h delete mode 100644 wxheaders/wxext/frame_ext2.h diff --git a/swigtemplates/app.i b/swigtemplates/app.i index ba8785f..f72f01c 100644 --- a/swigtemplates/app.i +++ b/swigtemplates/app.i @@ -3,7 +3,7 @@ %{ #include #include -#include "wxext/app_ext2.h" +#include "wxext/app_ext.h" #if defined(__WXMAC__) #include #endif @@ -88,7 +88,7 @@ %include "wx/qt/app.h" #endif -%include "wxext/app_ext2.h" +%include "wxext/app_ext.h" %{ /* typedef wxWindow* (* InitTopWindow)(); */ diff --git a/swigtemplates/frame.i b/swigtemplates/frame.i index 063f358..b6997d9 100644 --- a/swigtemplates/frame.i +++ b/swigtemplates/frame.i @@ -2,7 +2,7 @@ %include %{ #include -#include "wxext/frame_ext2.h" +#include "wxext/frame_ext.h" %} %ignore wxWindowList::Nth; @@ -79,4 +79,4 @@ #endif #endif -%include "wxext/frame_ext2.h" +%include "wxext/frame_ext.h" diff --git a/wxheaders/wx/android/setup.h b/wxheaders/wx/android/setup.h index 5003359..248a9b1 100644 --- a/wxheaders/wx/android/setup.h +++ b/wxheaders/wx/android/setup.h @@ -213,9 +213,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -470,7 +471,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -530,9 +531,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -711,14 +711,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -741,8 +738,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -770,7 +766,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1123,8 +1119,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1132,7 +1128,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1267,13 +1263,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1297,8 +1292,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1411,20 +1404,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1566,9 +1557,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/any.h b/wxheaders/wx/any.h index 6a26e68..1fb0bd2 100644 --- a/wxheaders/wx/any.h +++ b/wxheaders/wx/any.h @@ -205,9 +205,18 @@ public: static void SetValue(const T& value, wxAnyValueBuffer& buf) { - // Use placement new + // Use placement new, taking care to avoid running into problems with + // "new" redefinition in wx/msw/msvcrt.h. +#ifdef WXDEBUG_NEW + #undef new +#endif + void* const place = buf.m_buffer; ::new(place) T(value); + +#ifdef WXDEBUG_NEW + #define new WXDEBUG_NEW +#endif } static const T& GetValue(const wxAnyValueBuffer& buf) diff --git a/wxheaders/wx/anybutton.h b/wxheaders/wx/anybutton.h index 3239a88..f9765b8 100644 --- a/wxheaders/wx/anybutton.h +++ b/wxheaders/wx/anybutton.h @@ -193,7 +193,9 @@ protected: //#elif defined(__WXGTK__) // #include "wx/gtk1/anybutton.h" #elif defined(__WXMAC__) -// #include "wx/osx/anybutton.h" + #ifndef __CPPAST__ + #include "wx/osx/anybutton.h" + #else class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase { public: @@ -235,6 +237,7 @@ protected: wxDECLARE_NO_COPY_CLASS(wxAnyButton); wxDECLARE_EVENT_TABLE(); }; +#endif #elif defined(__WXQT__) #include "wx/qt/anybutton.h" #else diff --git a/wxheaders/wx/app.h b/wxheaders/wx/app.h index ebb9ce4..c91d9e8 100644 --- a/wxheaders/wx/app.h +++ b/wxheaders/wx/app.h @@ -546,69 +546,74 @@ protected: }; #if defined(__UNIX__) && !defined(__WINDOWS__) - #include + #ifndef __CPPAST__ + #include "wx/unix/app.h" + #else +#include - class wxFDIODispatcher; - class wxFDIOHandler; - class wxWakeUpPipe; +class wxFDIODispatcher; +class wxFDIOHandler; +class wxWakeUpPipe; - // wxApp subclass implementing event processing for console applications - class WXDLLIMPEXP_BASE wxAppConsole : public wxAppConsoleBase - { - public: - wxAppConsole(); - virtual ~wxAppConsole(); +// wxApp subclass implementing event processing for console applications +class WXDLLIMPEXP_BASE wxAppConsole : public wxAppConsoleBase +{ +public: + wxAppConsole(); + virtual ~wxAppConsole(); - // override base class initialization - virtual bool Initialize(int& argc, wxChar** argv) wxOVERRIDE; + // override base class initialization + virtual bool Initialize(int& argc, wxChar** argv) wxOVERRIDE; - // Unix-specific: Unix signal handling - // ----------------------------------- + // Unix-specific: Unix signal handling + // ----------------------------------- - // type of the function which can be registered as signal handler: notice - // that it isn't really a signal handler, i.e. it's not subject to the - // usual signal handlers constraints, because it is called later from - // CheckSignal() and not when the signal really occurs - typedef void (*SignalHandler)(int); + // type of the function which can be registered as signal handler: notice + // that it isn't really a signal handler, i.e. it's not subject to the + // usual signal handlers constraints, because it is called later from + // CheckSignal() and not when the signal really occurs + typedef void (*SignalHandler)(int); - // Set signal handler for the given signal, SIG_DFL or SIG_IGN can be used - // instead of a function pointer - // - // Return true if handler was installed, false on error - bool SetSignalHandler(int signal, SignalHandler handler); + // Set signal handler for the given signal, SIG_DFL or SIG_IGN can be used + // instead of a function pointer + // + // Return true if handler was installed, false on error + bool SetSignalHandler(int signal, SignalHandler handler); - // Check if any Unix signals arrived since the last call and execute - // handlers for them - void CheckSignal(); + // Check if any Unix signals arrived since the last call and execute + // handlers for them + void CheckSignal(); - // Register the signal wake up pipe with the given dispatcher. - // - // This is used by wxExecute(wxEXEC_NOEVENTS) implementation only. - // - // The pointer to the handler used for processing events on this descriptor - // is returned so that it can be deleted when we no longer needed it. - wxFDIOHandler* RegisterSignalWakeUpPipe(wxFDIODispatcher& dispatcher); + // Register the signal wake up pipe with the given dispatcher. + // + // This is used by wxExecute(wxEXEC_NOEVENTS) implementation only. + // + // The pointer to the handler used for processing events on this descriptor + // is returned so that it can be deleted when we no longer needed it. + wxFDIOHandler* RegisterSignalWakeUpPipe(wxFDIODispatcher& dispatcher); - private: - // signal handler set up by SetSignalHandler() for all signals we handle, - // it just adds the signal to m_signalsCaught -- the real processing is - // done later, when CheckSignal() is called - static void HandleSignal(int signal); +private: + // signal handler set up by SetSignalHandler() for all signals we handle, + // it just adds the signal to m_signalsCaught -- the real processing is + // done later, when CheckSignal() is called + static void HandleSignal(int signal); - // signals for which HandleSignal() had been called (reset from - // CheckSignal()) - sigset_t m_signalsCaught; + // signals for which HandleSignal() had been called (reset from + // CheckSignal()) + sigset_t m_signalsCaught; - // the signal handlers - /* WX_DECLARE_HASH_MAP(int, SignalHandler, wxIntegerHash, wxIntegerEqual, SignalHandlerHash); */ - /* SignalHandlerHash m_signalHandlerHash; */ + // the signal handlers + WX_DECLARE_HASH_MAP(int, SignalHandler, wxIntegerHash, wxIntegerEqual, SignalHandlerHash); + SignalHandlerHash m_signalHandlerHash; + + // pipe used for wake up signal handling: if a signal arrives while we're + // blocking for input, writing to this pipe triggers a call to our CheckSignal() + wxWakeUpPipe *m_signalWakeUpPipe; +}; + #endif - // pipe used for wake up signal handling: if a signal arrives while we're - // blocking for input, writing to this pipe triggers a call to our CheckSignal() - wxWakeUpPipe *m_signalWakeUpPipe; - }; #else // this has to be a class and not a typedef as we forward declare it class wxAppConsole : public wxAppConsoleBase { }; diff --git a/wxheaders/wx/button.h b/wxheaders/wx/button.h index bf10a8d..e1467ca 100644 --- a/wxheaders/wx/button.h +++ b/wxheaders/wx/button.h @@ -58,7 +58,9 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk1/button.h" #elif defined(__WXMAC__) - /* #include "wx/osx/button.h" */ + #ifndef __CPPAST__ + #include "wx/osx/button.h" + #else class WXDLLIMPEXP_CORE wxButton : public wxButtonBase { public: @@ -91,6 +93,7 @@ public: protected: wxDECLARE_DYNAMIC_CLASS(wxButton); }; +#endif #elif defined(__WXQT__) #include "wx/qt/button.h" diff --git a/wxheaders/wx/control.h b/wxheaders/wx/control.h index 7f9f77c..6d8a5fe 100644 --- a/wxheaders/wx/control.h +++ b/wxheaders/wx/control.h @@ -212,6 +212,9 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk1/control.h" #elif defined(__WXMAC__) + #ifndef __CPPAST__ + #include "wx/osx/control.h" + #else WXDLLIMPEXP_DATA_CORE(extern const char) wxControlNameStr[]; // General item class @@ -247,6 +250,7 @@ public: void OnKeyDown( wxKeyEvent &event ) ; }; +#endif #elif defined(__WXQT__) #include "wx/qt/control.h" #endif diff --git a/wxheaders/wx/defs.h b/wxheaders/wx/defs.h index e048cb7..f21c17e 100644 --- a/wxheaders/wx/defs.h +++ b/wxheaders/wx/defs.h @@ -605,7 +605,12 @@ typedef short int WXTYPE; #if __has_cpp_attribute(deprecated) /* gcc 5 claims to support this attribute, but actually doesn't */ #if !defined(__GNUC__) || wxCHECK_GCC_VERSION(6, 0) - #define wxHAS_DEPRECATED_ATTR + /* Even later gcc versions only support it when using C++11. */ + #ifdef __cplusplus + #if __cplusplus >= 201103L + #define wxHAS_DEPRECATED_ATTR + #endif + #endif #endif #endif #endif @@ -697,6 +702,43 @@ typedef short int WXTYPE; # define wxDEPRECATED_BUT_USED_INTERNALLY(x) wxDEPRECATED(x) #endif +/* + Some gcc versions choke on __has_cpp_attribute(gnu::visibility) due to the + presence of the colon, but we only need this macro in C++ code, so just + don't define it when using C. + */ +#ifdef __cplusplus + +/* + wxDEPRECATED_EXPORT_CORE is a special macro used for the classes that are + exported and deprecated (but not when building the library itself, as this + would trigger warnings about using this class when implementing it). + + It exists because standard [[deprecated]] attribute can't be combined with + legacy __attribute__((visibility)), but we can't use [[visibility]] instead + of the latter because it can't be use in the same place in the declarations + where we use WXDLLIMPEXP_CORE. So we define this special macro which uses + the standard visibility attribute just where we can't do otherwise. + */ +#ifdef WXBUILDING + #define wxDEPRECATED_EXPORT_CORE(msg) WXDLLIMPEXP_CORE +#else /* !WXBUILDING */ + #ifdef wxHAS_DEPRECATED_ATTR + #if __has_cpp_attribute(gnu::visibility) + #define wxDEPRECATED_EXPORT_CORE(msg) \ + [[deprecated(msg), gnu::visibility("default")]] + #endif + #endif + + #ifndef wxDEPRECATED_EXPORT_CORE + /* Fall back when nothing special is needed or available. */ + #define wxDEPRECATED_EXPORT_CORE(msg) \ + wxDEPRECATED_MSG(msg) WXDLLIMPEXP_CORE + #endif +#endif /* WXBUILDING/!WXBUILDING */ + +#endif /* __cplusplus */ + /* Macros to suppress and restore gcc warnings, requires g++ >= 4.6 and don't do anything otherwise. diff --git a/wxheaders/wx/generic/calctrlg.h b/wxheaders/wx/generic/calctrlg.h index 5013495..8f829e6 100644 --- a/wxheaders/wx/generic/calctrlg.h +++ b/wxheaders/wx/generic/calctrlg.h @@ -14,6 +14,8 @@ #include "wx/control.h" // the base class #include "wx/dcclient.h" // for wxPaintDC +class WXDLLIMPEXP_FWD_CORE wxChoice; +// Not used here any more, but still declared for backwards compatibility. class WXDLLIMPEXP_FWD_CORE wxComboBox; class WXDLLIMPEXP_FWD_CORE wxStaticText; class WXDLLIMPEXP_FWD_CORE wxSpinCtrl; @@ -238,7 +240,8 @@ private: // show the correct controls void ShowCurrentControls(); - // create the month combo and year spin controls + // create the month choice and year spin controls: the name is misleading + // (it should be called CreateMonthChoice()) but preserved for compatibility void CreateMonthComboBox(); void CreateYearSpinCtrl(); @@ -268,7 +271,7 @@ private: // the subcontrols wxStaticText *m_staticMonth; - wxComboBox *m_comboMonth; + wxChoice *m_choiceMonth; wxStaticText *m_staticYear; wxSpinCtrl *m_spinYear; diff --git a/wxheaders/wx/generic/grideditors.h b/wxheaders/wx/generic/grideditors.h index de4e3a7..9d3e991 100644 --- a/wxheaders/wx/generic/grideditors.h +++ b/wxheaders/wx/generic/grideditors.h @@ -116,7 +116,8 @@ public: explicit wxGridCellNumberEditor(int min = -1, int max = -1) : wxGridCellTextEditor(), m_min(min), - m_max(max) + m_max(max), + m_value(0L) { } @@ -213,6 +214,7 @@ public: : wxGridCellTextEditor(), m_width(width), m_precision(precision), + m_value(0.0), m_style(format) { } diff --git a/wxheaders/wx/generic/private/drawbitmap.h b/wxheaders/wx/generic/private/drawbitmap.h new file mode 100644 index 0000000..af6d64e --- /dev/null +++ b/wxheaders/wx/generic/private/drawbitmap.h @@ -0,0 +1,41 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/generic/private/drawbitmap.h +// Purpose: Small helper for drawing images. +// Author: Vadim Zeitlin +// Created: 2022-10-25 +// Copyright: (c) 2022 Vadim Zeitlin +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_GENERIC_PRIVATE_DRAWBITMAP_H_ +#define _WX_GENERIC_PRIVATE_DRAWBITMAP_H_ + +#include "wx/dc.h" +#include "wx/window.h" +#include "wx/withimages.h" + +// Just a trivial wrapper for wxDC::DrawBitmap() using wxWithImages: this is +// used in several places in the generic wxListCtrl and wxTreeCtrl code. +inline void +wxDrawImageBitmap(wxWindow* window, + const wxWithImages& images, + int image, + wxDC& dc, + int x, + int y) +{ + dc.DrawBitmap(images.GetImageBitmapFor(window, image), + x, y, + true /* use mask */); +} + +// Overload for the controls deriving from both wxWindow and wxWithImages, as +// both wxListCtrl and wxTreeCtrl do. +template +inline void +wxDrawImageBitmap(T* window, int image, wxDC& dc, int x, int y) +{ + wxDrawImageBitmap(window, *window, image, dc, x, y); +} + +#endif // _WX_GENERIC_PRIVATE_DRAWBITMAP_H_ diff --git a/wxheaders/wx/generic/private/listctrl.h b/wxheaders/wx/generic/private/listctrl.h index fa2e725..a8ad122 100644 --- a/wxheaders/wx/generic/private/listctrl.h +++ b/wxheaders/wx/generic/private/listctrl.h @@ -640,7 +640,7 @@ public: void DrawImage( int index, wxDC *dc, int x, int y ); void GetImageSize( int index, int &width, int &height ) const; - void SetImageList( wxImageList *imageList, int which ); + void SetImages( wxWithImages *images, const int which ); void SetItemSpacing( int spacing, bool isSmall = false ); int GetItemSpacing( bool isSmall = false ); @@ -694,8 +694,9 @@ public: SetItem( info ); } - wxImageList* GetSmallImageList() const - { return m_small_image_list; } + wxWithImages* GetSmallImages() const + { return m_small_images; } + // set the scrollbars and update the positions of the items void RecalculatePositions(); @@ -811,8 +812,9 @@ protected: bool m_dirty; wxColour *m_highlightColour; - wxImageList *m_small_image_list; - wxImageList *m_normal_image_list; + wxWithImages *m_small_images; + wxWithImages *m_normal_images; + int m_small_spacing; int m_normal_spacing; bool m_hasFocus; diff --git a/wxheaders/wx/glcanvas.h b/wxheaders/wx/glcanvas.h index c622215..d29f4c7 100644 --- a/wxheaders/wx/glcanvas.h +++ b/wxheaders/wx/glcanvas.h @@ -329,6 +329,9 @@ public: #elif defined(__WXGTK__) #include "wx/gtk1/glcanvas.h" #elif defined(__WXMAC__) + #ifndef __CPPAST__ + #include "wx/osx/glcanvas.h" + #else #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ @@ -496,6 +499,7 @@ protected: }; #endif // _WX_GLCANVAS_H_ +#endif #elif defined(__WXQT__) #include "wx/qt/glcanvas.h" #else diff --git a/wxheaders/wx/gtk/private/gtk2-compat.h b/wxheaders/wx/gtk/private/gtk2-compat.h index d9c7686..141dc94 100644 --- a/wxheaders/wx/gtk/private/gtk2-compat.h +++ b/wxheaders/wx/gtk/private/gtk2-compat.h @@ -633,8 +633,22 @@ static inline void wx_gtk_widget_get_preferred_size(GtkWidget* widget, GtkRequis #define GDK_KEY_KP_Subtract GDK_KP_Subtract #define GDK_KEY_KP_Tab GDK_KP_Tab #define GDK_KEY_KP_Up GDK_KP_Up +#define GDK_KEY_Launch0 GDK_Launch0 +#define GDK_KEY_Launch1 GDK_Launch1 +#define GDK_KEY_Launch2 GDK_Launch2 +#define GDK_KEY_Launch3 GDK_Launch3 +#define GDK_KEY_Launch4 GDK_Launch4 +#define GDK_KEY_Launch5 GDK_Launch5 +#define GDK_KEY_Launch6 GDK_Launch6 +#define GDK_KEY_Launch7 GDK_Launch7 +#define GDK_KEY_Launch8 GDK_Launch8 +#define GDK_KEY_Launch9 GDK_Launch9 #define GDK_KEY_LaunchA GDK_LaunchA #define GDK_KEY_LaunchB GDK_LaunchB +#define GDK_KEY_LaunchC GDK_LaunchC +#define GDK_KEY_LaunchD GDK_LaunchD +#define GDK_KEY_LaunchE GDK_LaunchE +#define GDK_KEY_LaunchF GDK_LaunchF #define GDK_KEY_Left GDK_Left #define GDK_KEY_Linefeed GDK_Linefeed #define GDK_KEY_Mail GDK_Mail diff --git a/wxheaders/wx/gtk/setup.h b/wxheaders/wx/gtk/setup.h index 81278c5..367d95e 100644 --- a/wxheaders/wx/gtk/setup.h +++ b/wxheaders/wx/gtk/setup.h @@ -214,9 +214,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -471,7 +472,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -531,9 +532,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -712,14 +712,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -742,8 +739,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -771,7 +767,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1124,8 +1120,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1133,7 +1129,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1268,13 +1264,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1298,8 +1293,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1412,20 +1405,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1567,9 +1558,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/matrix.h b/wxheaders/wx/matrix.h index d18a0d2..3b3225d 100644 --- a/wxheaders/wx/matrix.h +++ b/wxheaders/wx/matrix.h @@ -38,10 +38,8 @@ // At all times m_isIdentity is set if the matrix itself is an Identity matrix. // It is used where possible to optimize calculations. class -#ifndef WXBUILDING -wxDEPRECATED_MSG("use wxAffineMatrix2D instead") -#endif -WXDLLIMPEXP_CORE wxTransformMatrix: public wxObject +wxDEPRECATED_EXPORT_CORE("use wxAffineMatrix2D instead") +wxTransformMatrix: public wxObject { public: wxTransformMatrix(); diff --git a/wxheaders/wx/motif/setup.h b/wxheaders/wx/motif/setup.h index 6ac6bf8..e3ab139 100644 --- a/wxheaders/wx/motif/setup.h +++ b/wxheaders/wx/motif/setup.h @@ -214,9 +214,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -471,7 +472,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -531,9 +532,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -712,14 +712,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -742,8 +739,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -771,7 +767,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1124,8 +1120,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1133,7 +1129,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1268,13 +1264,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1298,8 +1293,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1412,20 +1405,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1567,9 +1558,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/msw/combobox.h b/wxheaders/wx/msw/combobox.h index 3114d41..2274e21 100644 --- a/wxheaders/wx/msw/combobox.h +++ b/wxheaders/wx/msw/combobox.h @@ -154,6 +154,14 @@ protected: m_allowTextEvents = enable; } +#if wxABI_VERSION >= 30202 + // Recreate the native control entirely while preserving its initial + // contents and attributes: this is useful if the height of the items must + // be changed as the native control doesn't seem to support doing this once + // it had been already determined. + void MSWRecreate(); +#endif // wxABI_VERSION >= 3.2.2 + private: // there are the overridden wxTextEntry methods which should only be called // when we do have an edit control so they assert if this is not the case diff --git a/wxheaders/wx/msw/menuitem.h b/wxheaders/wx/msw/menuitem.h index 1e8bf02..a765236 100644 --- a/wxheaders/wx/msw/menuitem.h +++ b/wxheaders/wx/msw/menuitem.h @@ -149,6 +149,9 @@ private: // position (which is not really supposed to ever happen). int MSGetMenuItemPos() const; + // Get the extent of the given text using the correct font. + wxSize GetMenuTextExtent(const wxString& text) const; + // item bitmaps wxBitmapBundle m_bmpUnchecked; // (used only for checkable items) #if wxUSE_OWNER_DRAWN diff --git a/wxheaders/wx/msw/msvcrt.h b/wxheaders/wx/msw/msvcrt.h index d79bdb3..c58f505 100644 --- a/wxheaders/wx/msw/msvcrt.h +++ b/wxheaders/wx/msw/msvcrt.h @@ -9,6 +9,16 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// Note that this file globally redefines "new" keyword breaking the use of +// placement new in any code parsed after it. If you run into this problem, the +// solutions are, in order of preference: +// +// 1. Don't include this header at all. Use better tools for memory debugging. +// 2. Predefine __NO_VC_CRTDBG__ before including it (basically the same as 1). +// 3. Do "#undef new" before and "#define new WXDEBUG_NEW" in your own code +// before/after using placement new or before/after including third part +// headers using it. + // the goal of this file is to define wxCrtSetDbgFlag() macro which may be // used like this: // wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF); diff --git a/wxheaders/wx/msw/private/tlwgeom.h b/wxheaders/wx/msw/private/tlwgeom.h index daf2df0..5b9933d 100644 --- a/wxheaders/wx/msw/private/tlwgeom.h +++ b/wxheaders/wx/msw/private/tlwgeom.h @@ -113,6 +113,38 @@ public: return false; } + if (m_placement.showCmd != SW_SHOWMAXIMIZED && m_placement.showCmd != SW_SHOWMINIMIZED) + { + RECT rcWindow; + ::GetWindowRect(tlw->GetHWND(), &rcWindow); + // Height and width should be the same unless the user performed + // an Aero Snap operation. + const RECT rcNormal = m_placement.rcNormalPosition; + if ((rcWindow.bottom - rcWindow.top) != (rcNormal.bottom - rcNormal.top) || + (rcWindow.right - rcWindow.left) != (rcNormal.right - rcNormal.left)) + { + WinStruct mi; + if (!::GetMonitorInfo(::MonitorFromWindow(tlw->GetHWND(), + MONITOR_DEFAULTTONEAREST), &mi)) + { + wxLogLastError("GetMonitorInfo"); + return false; + } + + // If the tray is on the top or the left, then the rectangle needs to + // be adjusted to match what ::SetWindowPlacement expects. + if (mi.rcMonitor.top < mi.rcWork.top || + mi.rcMonitor.left < mi.rcWork.left) + { + // Negative offset to eliminate the tray width/height. + OffsetRect(&rcWindow, (mi.rcMonitor.left - mi.rcWork.left), + (mi.rcMonitor.top - mi.rcWork.top)); + } + + ::CopyRect(&m_placement.rcNormalPosition, &rcWindow); + } + } + return true; } diff --git a/wxheaders/wx/msw/private/webview_edge.h b/wxheaders/wx/msw/private/webview_edge.h index ec497f0..892e4f9 100644 --- a/wxheaders/wx/msw/private/webview_edge.h +++ b/wxheaders/wx/msw/private/webview_edge.h @@ -56,6 +56,7 @@ public: bool m_initialized; bool m_isBusy; + bool m_inEventCallback; wxString m_pendingURL; wxString m_pendingPage; int m_pendingContextMenuEnabled; diff --git a/wxheaders/wx/msw/setup.h b/wxheaders/wx/msw/setup.h index bcdd486..b1d20d9 100644 --- a/wxheaders/wx/msw/setup.h +++ b/wxheaders/wx/msw/setup.h @@ -214,9 +214,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -471,7 +472,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -531,9 +532,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -712,14 +712,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -742,8 +739,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -771,7 +767,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1124,8 +1120,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1133,7 +1129,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1268,13 +1264,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1298,8 +1293,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1412,20 +1405,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1567,9 +1558,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/msw/textctrl.h b/wxheaders/wx/msw/textctrl.h index 08ff22b..690dfe0 100644 --- a/wxheaders/wx/msw/textctrl.h +++ b/wxheaders/wx/msw/textctrl.h @@ -17,19 +17,14 @@ public: // creation // -------- - wxTextCtrl() { Init(); } + wxTextCtrl(); wxTextCtrl(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxASCII_STR(wxTextCtrlNameStr)) - { - Init(); - - Create(parent, id, value, pos, size, style, validator, name); - } + const wxString& name = wxASCII_STR(wxTextCtrlNameStr)); virtual ~wxTextCtrl(); bool Create(wxWindow *parent, wxWindowID id, diff --git a/wxheaders/wx/msw/toplevel.h b/wxheaders/wx/msw/toplevel.h index 18b36f4..c319827 100644 --- a/wxheaders/wx/msw/toplevel.h +++ b/wxheaders/wx/msw/toplevel.h @@ -169,6 +169,11 @@ protected: int& x, int& y, int& w, int& h) const wxOVERRIDE; + // override this one to update our icon on DPI change (not quite the same + // thing as font, but close enough...) + virtual void MSWUpdateFontOnDPIChange(const wxSize& newDPI) wxOVERRIDE; + + // This field contains the show command to use when showing the window the // next time and also indicates whether the window should be considered // being iconized or maximized (which may be different from whether it's @@ -195,6 +200,10 @@ protected: wxWindowRef m_winLastFocused; private: + // Part of SetIcons() actually updating the window icons. + void DoSetIcons(); + + // The system menu: initially NULL but can be set (once) by // MSWGetSystemMenu(). Owned by this window. wxMenu *m_menuSystem; diff --git a/wxheaders/wx/msw/webview_edge.h b/wxheaders/wx/msw/webview_edge.h index d84b74d..c3db2ca 100644 --- a/wxheaders/wx/msw/webview_edge.h +++ b/wxheaders/wx/msw/webview_edge.h @@ -88,6 +88,7 @@ public: virtual bool SetUserAgent(const wxString& userAgent) wxOVERRIDE; + virtual bool RunScript(const wxString& javascript, wxString* output = NULL) const wxOVERRIDE; virtual void RunScriptAsync(const wxString& javascript, void* clientData = NULL) const wxOVERRIDE; virtual bool AddScriptMessageHandler(const wxString& name) wxOVERRIDE; virtual bool RemoveScriptMessageHandler(const wxString& name) wxOVERRIDE; diff --git a/wxheaders/wx/msw/wx.rc b/wxheaders/wx/msw/wx.rc index 7a6b203..cae328f 100644 --- a/wxheaders/wx/msw/wx.rc +++ b/wxheaders/wx/msw/wx.rc @@ -106,22 +106,11 @@ wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp" #endif #if !defined(wxUSE_DPI_AWARE_MANIFEST) || wxUSE_DPI_AWARE_MANIFEST == 0 - #define wxMANIFEST_DPI .manifest + #define wxMANIFEST_FILE "wx/msw/wx.manifest" #elif wxUSE_DPI_AWARE_MANIFEST == 1 - #define wxMANIFEST_DPI _dpi_aware.manifest + #define wxMANIFEST_FILE "wx/msw/wx_dpi_aware.manifest" #elif wxUSE_DPI_AWARE_MANIFEST == 2 - #define wxMANIFEST_DPI _dpi_aware_pmv2.manifest -#endif - -#define wxRC_STR(text) wxRC_STR2(text) -#define wxRC_STR2(text) #text -#define wxRC_CONCAT(a, b) wxRC_CONCAT2(a, b) -#define wxRC_CONCAT2(a, b) a ## b - -#ifdef __GNUC__ - #define wxMANIFEST_FILE "wx/msw/wx" wxRC_STR(wxMANIFEST_DPI) -#else - #define wxMANIFEST_FILE wxRC_CONCAT(wx/msw/wx, wxMANIFEST_DPI) + #define wxMANIFEST_FILE "wx/msw/wx_dpi_aware_pmv2.manifest" #endif wxMANIFEST_ID RT_MANIFEST wxMANIFEST_FILE diff --git a/wxheaders/wx/osx/config_xcode.h b/wxheaders/wx/osx/config_xcode.h index 1fdf0d9..c586986 100644 --- a/wxheaders/wx/osx/config_xcode.h +++ b/wxheaders/wx/osx/config_xcode.h @@ -121,9 +121,9 @@ #define PACKAGE_BUGREPORT "wx-dev@googlegroups.com" #define PACKAGE_NAME "wxWidgets" -#define PACKAGE_STRING "wxWidgets 3.2.1" +#define PACKAGE_STRING "wxWidgets 3.2.2" #define PACKAGE_TARNAME "wxwidgets" -#define PACKAGE_VERSION "3.2.1" +#define PACKAGE_VERSION "3.2.2" // for jpeg diff --git a/wxheaders/wx/osx/setup.h b/wxheaders/wx/osx/setup.h index edb835c..3afbc02 100644 --- a/wxheaders/wx/osx/setup.h +++ b/wxheaders/wx/osx/setup.h @@ -220,9 +220,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -477,7 +478,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -537,9 +538,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -718,14 +718,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -748,8 +745,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -777,7 +773,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1130,8 +1126,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1139,7 +1135,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1274,13 +1270,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1304,8 +1299,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1418,20 +1411,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1573,9 +1564,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/osx/window.h b/wxheaders/wx/osx/window.h index 4e8cdf6..25a4fc5 100644 --- a/wxheaders/wx/osx/window.h +++ b/wxheaders/wx/osx/window.h @@ -169,8 +169,8 @@ public: // sometimes decorations make the client area smaller virtual wxPoint GetClientAreaOrigin() const wxOVERRIDE; - wxWindowMac *FindItem(long id) const; - wxWindowMac *FindItemByHWND(WXHWND hWnd, bool controlOnly = false) const; + /* wxWindowMac *FindItem(long id) const; */ + /* wxWindowMac *FindItemByHWND(WXHWND hWnd, bool controlOnly = false) const; */ virtual void TriggerScrollEvent( wxEventType scrollEvent ) ; // this should not be overridden in classes above wxWindowMac diff --git a/wxheaders/wx/panel.h b/wxheaders/wx/panel.h index d6527da..5100856 100644 --- a/wxheaders/wx/panel.h +++ b/wxheaders/wx/panel.h @@ -177,6 +177,9 @@ private: #include "wx/msw/panel.h" #else #define wxHAS_GENERIC_PANEL + #ifndef __CPPAST__ + #include "wx/generic/panelg.h" + #else #ifndef _WX_GENERIC_PANELG_H_ #define _WX_GENERIC_PANELG_H_ @@ -216,5 +219,6 @@ private: #endif // _WX_GENERIC_PANELG_H_ #endif +#endif #endif // _WX_PANELH_BASE_ diff --git a/wxheaders/wx/private/jsscriptwrapper.h b/wxheaders/wx/private/jsscriptwrapper.h index a69b286..6e9bb18 100644 --- a/wxheaders/wx/private/jsscriptwrapper.h +++ b/wxheaders/wx/private/jsscriptwrapper.h @@ -33,38 +33,42 @@ public: }; wxJSScriptWrapper(const wxString& js, OutputType outputType) - : m_escapedCode(js), m_outputType(outputType) + : m_outputType(outputType) { // Adds one escape level. const char *charsNeededToBeEscaped = "\\\"\n\r\v\t\b\f"; - for ( - size_t pos = m_escapedCode.find_first_of(charsNeededToBeEscaped, 0); - pos != wxString::npos; - pos = m_escapedCode.find_first_of(charsNeededToBeEscaped, pos) - ) { - switch (m_escapedCode[pos].GetValue()) + m_escapedCode.reserve(js.size()); + for (wxString::const_iterator it = js.begin(); it != js.end(); ++it) + { + if (wxStrchr(charsNeededToBeEscaped, *it)) { - case 0x0A: // '\n' - m_escapedCode[pos] = 'n'; - break; - case 0x0D: // '\r' - m_escapedCode[pos] = 'r'; - break; - case 0x0B: // '\v' - m_escapedCode[pos] = 'v'; - break; - case 0x09: // '\t' - m_escapedCode[pos] = 't'; - break; - case 0x08: // '\b' - m_escapedCode[pos] = 'b'; - break; - case 0x0C: // '\f' - m_escapedCode[pos] = 'f'; - break; + m_escapedCode += '\\'; + switch ((wxChar) *it) + { + case 0x0A: // '\n' + m_escapedCode += 'n'; + break; + case 0x0D: // '\r' + m_escapedCode += 'r'; + break; + case 0x0B: // '\v' + m_escapedCode += 'v'; + break; + case 0x09: // '\t' + m_escapedCode += 't'; + break; + case 0x08: // '\b' + m_escapedCode += 'b'; + break; + case 0x0C: // '\f' + m_escapedCode += 'f'; + break; + default: + m_escapedCode += *it; + } } - m_escapedCode.insert(pos, '\\'); - pos += 2; + else + m_escapedCode += *it; } } diff --git a/wxheaders/wx/propgrid/editors.h b/wxheaders/wx/propgrid/editors.h index 937d93d..88ee6c9 100644 --- a/wxheaders/wx/propgrid/editors.h +++ b/wxheaders/wx/propgrid/editors.h @@ -17,6 +17,7 @@ #include "wx/window.h" +class WXDLLIMPEXP_FWD_CORE wxBitmapBundle; class WXDLLIMPEXP_FWD_PROPGRID wxPGCell; class WXDLLIMPEXP_FWD_PROPGRID wxPGProperty; class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGrid; diff --git a/wxheaders/wx/radiobut.h b/wxheaders/wx/radiobut.h index ca688fa..6fcdf71 100644 --- a/wxheaders/wx/radiobut.h +++ b/wxheaders/wx/radiobut.h @@ -64,6 +64,9 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioButtonNameStr[]; #elif defined(__WXGTK__) #include "wx/gtk1/radiobut.h" #elif defined(__WXMAC__) + #ifndef __CPPAST__ + #include "wx/osx/radiobut.h" + #else #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ @@ -146,6 +149,7 @@ public: #endif // _WX_RADIOBUT_H_ +#endif #elif defined(__WXQT__) #include "wx/qt/radiobut.h" #endif diff --git a/wxheaders/wx/sckaddr.h b/wxheaders/wx/sckaddr.h index c0bcc58..da34171 100644 --- a/wxheaders/wx/sckaddr.h +++ b/wxheaders/wx/sckaddr.h @@ -16,6 +16,7 @@ #if wxUSE_SOCKETS +#include "wx/object.h" #include "wx/string.h" class wxSockAddressImpl; diff --git a/wxheaders/wx/setup_inc.h b/wxheaders/wx/setup_inc.h index 8b7a63c..6fdcd93 100644 --- a/wxheaders/wx/setup_inc.h +++ b/wxheaders/wx/setup_inc.h @@ -210,9 +210,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -467,7 +468,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -527,9 +528,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -708,14 +708,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -738,8 +735,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -767,7 +763,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1120,8 +1116,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1129,7 +1125,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1264,13 +1260,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1294,8 +1289,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1408,20 +1401,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1563,9 +1554,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/simplebook.h b/wxheaders/wx/simplebook.h index bbb593c..9794c9c 100644 --- a/wxheaders/wx/simplebook.h +++ b/wxheaders/wx/simplebook.h @@ -17,6 +17,25 @@ #include "wx/containr.h" #include "wx/vector.h" +// Hack to work around problems with wxNavigationEnabled when +// using wx as DLL: we want the compiler to see that it's already available in +// the DLL by including some other DLL exported class using it as the base in +// order to prevent it from generating a non-DLL-exported instantiation which +// will conflict with the one in the DLL at the link-time. +// +// Find the first available class using wxNavigationEnabled as +// base, any will do (except for wxAUI one, as this would create a dependency +// on the AUI library that we can't have here). +#if wxUSE_CHOICEBOOK + #include "wx/choicebk.h" +#elif wxUSE_LISTBOOK + #include "wx/listbook.h" +#elif wxUSE_TOOLBOOK + #include "wx/toolbook.h" +#elif wxUSE_TREEBOOK + #include "wx/treebook.h" +#endif + // ---------------------------------------------------------------------------- // wxSimplebook: a book control without any user-actionable controller. // ---------------------------------------------------------------------------- diff --git a/wxheaders/wx/sound.h b/wxheaders/wx/sound.h index ebf8380..2805a50 100644 --- a/wxheaders/wx/sound.h +++ b/wxheaders/wx/sound.h @@ -57,6 +57,9 @@ protected: #if defined(__WINDOWS__) #include "wx/msw/sound.h" #elif defined(__WXMAC__) + #ifndef __CPPAST__ + #include "wx/osx/sound.h" + #else #ifndef _WX_SOUND_H_ #define _WX_SOUND_H_ @@ -122,6 +125,7 @@ private: wxDECLARE_NO_COPY_CLASS(wxSound); }; +#endif #endif #endif // _WX_SOUND_H_ diff --git a/wxheaders/wx/thread.h b/wxheaders/wx/thread.h index 24006b2..487c8ff 100644 --- a/wxheaders/wx/thread.h +++ b/wxheaders/wx/thread.h @@ -610,7 +610,7 @@ protected: // of this thread. virtual void *Entry() = 0; - // use this to call the Entry() virtual method + // obsolete private function calling Entry(), do not use. void *CallEntry(); // Callbacks which may be overridden by the derived class to perform some diff --git a/wxheaders/wx/thrimpl.cpp b/wxheaders/wx/thrimpl.cpp index e76414e..ba7930a 100644 --- a/wxheaders/wx/thrimpl.cpp +++ b/wxheaders/wx/thrimpl.cpp @@ -342,16 +342,14 @@ wxSemaError wxSemaphore::Post() // ---------------------------------------------------------------------------- #include "wx/utils.h" -#include "wx/private/threadinfo.h" -#include "wx/scopeguard.h" void wxThread::Sleep(unsigned long milliseconds) { wxMilliSleep(milliseconds); } +// This function exists only for backwards compatibility, don't call it. void *wxThread::CallEntry() { - wxON_BLOCK_EXIT0(wxThreadSpecificInfo::ThreadCleanUp); return Entry(); } diff --git a/wxheaders/wx/uilocale.h b/wxheaders/wx/uilocale.h index bcf641b..8f3a178 100644 --- a/wxheaders/wx/uilocale.h +++ b/wxheaders/wx/uilocale.h @@ -158,12 +158,20 @@ public: // its dtor is not virtual. ~wxUILocale(); +#if wxABI_VERSION >= 30202 + // Return the locale ID representing the default system locale, which would + // be set is UseDefault() is called. + static wxLocaleIdent GetSystemLocaleId(); +#endif // wxABI_VERSION >= 3.2.2 + // Try to get user's (or OS's) preferred language setting. // Return wxLANGUAGE_UNKNOWN if the language-guessing algorithm failed + // Prefer using GetSystemLocaleId() above. static int GetSystemLanguage(); // Try to get user's (or OS's) default locale setting. // Return wxLANGUAGE_UNKNOWN if the locale-guessing algorithm failed + // Prefer using GetSystemLocaleId() above. static int GetSystemLocale(); // Try to retrieve a list of user's (or OS's) preferred UI languages. diff --git a/wxheaders/wx/univ/setup.h b/wxheaders/wx/univ/setup.h index 0291378..b507d42 100644 --- a/wxheaders/wx/univ/setup.h +++ b/wxheaders/wx/univ/setup.h @@ -213,9 +213,10 @@ // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // -// Default is 0 +// This feature is incomplete and experimental, please only enable it if +// you want to participate in its development. // -// Recommended setting: 0 (this is still work in progress...) +// Recommended setting: 0 (unless you wish to try working on it). #define wxUSE_EXTENDED_RTTI 0 // Support for message/error logging. This includes wxLogXXX() functions and @@ -470,7 +471,7 @@ // wxFileConfig #define wxUSE_TEXTFILE 1 -// i18n support: _() macro, wxLocale class. Requires wxTextFile. +// i18n support: _() macro, wxLocale class. #define wxUSE_INTL 1 // Provide wxFoo_l() functions similar to standard foo() functions but taking @@ -530,9 +531,8 @@ #define wxUSE_CONFIG 1 // If wxUSE_CONFIG is 1, you may choose to use either the native config -// classes under Windows (using .INI files under Win16 and the registry under -// Win32) or the portable text file format used by the config classes under -// Unix. +// classes under Windows (using the registry) or the portable text file +// format used by the config classes under Unix. // // Default is 1 to use native classes. Note that you may still use // wxFileConfig even if you set this to 1 - just the config object created by @@ -711,14 +711,11 @@ // or your compiler cannot for some reason cope with complexity of templates used. #define wxUSE_ANY 1 -// Support for regular expression matching via wxRegEx class: enable this to -// use POSIX regular expressions in your code. You need to compile regex -// library from src/regex to use it under Windows. +// Support for regular expression matching via wxRegEx class. // -// Default is 0 +// Default is 1. // -// Recommended setting: 1 if your compiler supports it, if it doesn't please -// contribute us a makefile for src/regex for it +// Recommended setting: 1 #define wxUSE_REGEX 1 // wxSystemOptions class @@ -741,8 +738,7 @@ // Recommended setting: 1 (requires wxUSE_XML) #define wxUSE_XRC 1 -// XML parsing classes. Note that their API will change in the future, so -// using wxXmlDocument and wxXmlNode in your app is not recommended. +// XML parsing classes. // // Default is 1 // @@ -770,7 +766,7 @@ // Recommended setting: 1 #define wxUSE_PROPGRID 1 -// Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. +// Use wxStyledTextCtrl, a wxWidgets Scintilla wrapper. // // Default is 1 // @@ -1123,8 +1119,8 @@ #define wxUSE_ARTPROVIDER_STD 1 // Use art provider providing Tango icons: this art provider has higher quality -// icons than the default ones using smaller size XPM icons without -// transparency but the embedded PNG icons add to the library size. +// icons than the default one. It uses SVG format which allows much better scaling +// then when bitmaps are used, at the expense of somewhat larger library size. // // Default is 1 under non-GTK ports. Under wxGTK the native art provider using // the GTK+ stock icons replaces it so it is normally not necessary. @@ -1132,7 +1128,7 @@ // Recommended setting: 1 but can be turned off to reduce the library size. #define wxUSE_ARTPROVIDER_TANGO 1 -// Hotkey support (currently Windows only) +// Hotkey support (currently Windows and macOS only) #define wxUSE_HOTKEY 1 // Use wxCaret: a class implementing a "cursor" in a text control (called caret @@ -1267,13 +1263,12 @@ // common dialogs // ---------------------------------------------------------------------------- -// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. -// file selector, printer dialog). Switching this off also switches off the -// printing architecture and interactive wxPrinterDC. +// Use common dialogs (e.g. file selector, printer dialog). Switching this off +// also switches off the printing architecture and interactive wxPrinterDC. // // Default is 1 // -// Recommended setting: 1 (unless it really doesn't work) +// Recommended setting: 1 #define wxUSE_COMMON_DIALOGS 1 // wxBusyInfo displays window with message when app is busy. Works in same way @@ -1297,8 +1292,6 @@ // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -// TODO: setting to choose the generic or native one - // Use file open/save dialogs. // // Default is 1 @@ -1411,20 +1404,18 @@ // Set to 0 to disable print/preview architecture code #define wxUSE_PRINTING_ARCHITECTURE 1 -// wxHTML sublibrary allows to display HTML in wxWindow programs and much, -// much more. +// wxHTML allows displaying simple HTML. // // Default is 1. // -// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a -// smaller library. +// Recommended setting: 1 #define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS // set to 1 and, under Windows, also to add opengl32.lib and glu32.lib to the -// list of libraries used to link your application (although this is done -// implicitly for Microsoft Visual C++ users). +// list of libraries used to link your application when linking to wxWidgets +// statically (although this is done implicitly for Microsoft Visual C++ users). // // Default is 1. // @@ -1566,9 +1557,10 @@ // disabled if you don't plan to use images in such format sometimes saving // substantial amount of code in the final library. // -// Some formats require an extra library which is included in wxWin sources -// which is mentioned if it is the case. - +// Some formats require an extra library (e.g. libpng) which is always included in +// wxWidgets sources but some build systems (cmake, configure) can be configured to +// to use the system or user-provided version. +// // Set to 1 for wxImage support (recommended). #define wxUSE_IMAGE 1 diff --git a/wxheaders/wx/unix/glegl.h b/wxheaders/wx/unix/glegl.h index ccdd302..1a6b84b 100644 --- a/wxheaders/wx/unix/glegl.h +++ b/wxheaders/wx/unix/glegl.h @@ -136,6 +136,8 @@ private: // the global/default versions of the above static EGLConfig *ms_glEGLConfig; + + friend void wxEGLUpdatePosition(wxGLCanvasEGL* win); }; // ---------------------------------------------------------------------------- diff --git a/wxheaders/wx/vector.h b/wxheaders/wx/vector.h index 03fbb64..fa3b358 100644 --- a/wxheaders/wx/vector.h +++ b/wxheaders/wx/vector.h @@ -63,6 +63,11 @@ WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems, #endif // !wxQSORT_DECLARED +// Fix using placement new in case it was redefined by wx/msw/msvcrt.h. +#ifdef WXDEBUG_NEW + #undef new +#endif + namespace wxPrivate { @@ -715,6 +720,11 @@ inline bool wxVectorContains(const wxVector& v, const T& obj) return false; } +// Redefine if it we undefined it above. +#ifdef WXDEBUG_NEW + #define new WXDEBUG_NEW +#endif + #endif // wxUSE_STD_CONTAINERS/!wxUSE_STD_CONTAINERS // Define vector::shrink_to_fit() equivalent which can be always used, even diff --git a/wxheaders/wx/version.h b/wxheaders/wx/version.h index 1dc179e..f3a461e 100644 --- a/wxheaders/wx/version.h +++ b/wxheaders/wx/version.h @@ -27,9 +27,9 @@ /* NB: this file is parsed by automatic tools so don't change its format! */ #define wxMAJOR_VERSION 3 #define wxMINOR_VERSION 2 -#define wxRELEASE_NUMBER 1 +#define wxRELEASE_NUMBER 2 #define wxSUBRELEASE_NUMBER 0 -#define wxVERSION_STRING wxT("wxWidgets 3.2.1") +#define wxVERSION_STRING wxT("wxWidgets 3.2.2") /* nothing to update below this line when updating the version */ /* ---------------------------------------------------------------------------- */ diff --git a/wxheaders/wx/webview.h b/wxheaders/wx/webview.h index e1af2b6..f95edb0 100644 --- a/wxheaders/wx/webview.h +++ b/wxheaders/wx/webview.h @@ -354,6 +354,18 @@ typedef void (wxEvtHandler::*wxWebViewEventFunction) wx__DECLARE_EVT1(wxEVT_WEBVIEW_TITLE_CHANGED, id, \ wxWebViewEventHandler(fn)) +#define EVT_WEBVIEW_FULLSCREEN_CHANGED(id, fn) \ + wx__DECLARE_EVT1(wxEVT_WEBVIEW_FULLSCREEN_CHANGED, id, \ + wxWebViewEventHandler(fn)) + +#define EVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED(id, fn) \ + wx__DECLARE_EVT1(wxEVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED, id, \ + wxWebViewEventHandler(fn)) + +#define EVT_WEBVIEW_SCRIPT_RESULT(id, fn) \ + wx__DECLARE_EVT1(wxEVT_WEBVIEW_SCRIPT_RESULT, id, \ + wxWebViewEventHandler(fn)) + // old wxEVT_COMMAND_* constants #define wxEVT_COMMAND_WEBVIEW_NAVIGATING wxEVT_WEBVIEW_NAVIGATING #define wxEVT_COMMAND_WEBVIEW_NAVIGATED wxEVT_WEBVIEW_NAVIGATED diff --git a/wxheaders/wx/window.h b/wxheaders/wx/window.h index 4710f51..6011e3e 100644 --- a/wxheaders/wx/window.h +++ b/wxheaders/wx/window.h @@ -175,6 +175,11 @@ extern WXDLLIMPEXP_DATA_BASE(wxList) wxPendingDelete; class WXDLLIMPEXP_CORE wxWindowBase : public wxEvtHandler { public: + enum WindowOrder + { + OrderBefore, // insert before the given window + OrderAfter // insert after the given window + }; // creating the window // ------------------- @@ -1719,12 +1724,6 @@ protected: virtual bool TryBefore(wxEvent& event) wxOVERRIDE; virtual bool TryAfter(wxEvent& event) wxOVERRIDE; - enum WindowOrder - { - OrderBefore, // insert before the given window - OrderAfter // insert after the given window - }; - // common part of GetPrev/NextSibling() wxWindow *DoGetSibling(WindowOrder order) const; @@ -2107,30 +2106,246 @@ inline void wxWindowBase::SetInitialBestSize(const wxSize& size) #define wxWindowMac wxWindow #endif // wxUniv #ifndef __CPPAST__ - #include "wx/osx/window.h" + #include "wx/osx/window.h" #else - class wxWindow: public wxWindowBase { +#ifndef _WX_WINDOW_H_ +#define _WX_WINDOW_H_ - wxDECLARE_DYNAMIC_CLASS(wxWindow); +#include "wx/brush.h" +#include "wx/dc.h" - friend class wxDC; - friend class wxPaintDC; +class WXDLLIMPEXP_FWD_CORE wxButton; +class WXDLLIMPEXP_FWD_CORE wxScrollBar; +class WXDLLIMPEXP_FWD_CORE wxPanel; +class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow; - public: - wxWindowMac(); +#if wxOSX_USE_COCOA_OR_IPHONE + class WXDLLIMPEXP_FWD_CORE wxWidgetImpl ; + typedef wxWidgetImpl wxOSXWidgetImpl; +#endif - wxWindowMac( wxWindowMac *parent, - wxWindowID id, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, - const wxString& name = wxASCII_STR(wxPanelNameStr) ); - virtual ~wxWindowMac(); - private: - wxDECLARE_NO_COPY_CLASS(wxWindow); - wxDECLARE_EVENT_TABLE(); - }; +class WXDLLIMPEXP_CORE wxWindow: public wxWindowBase +{ + wxDECLARE_DYNAMIC_CLASS(wxWindow); + + friend class wxDC; + friend class wxPaintDC; + +public: + wxWindow(); + + wxWindow( wxWindow *parent, + wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxASCII_STR(wxPanelNameStr) ); + + virtual ~wxWindow(); + + bool Create( wxWindow *parent, + wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxASCII_STR(wxPanelNameStr) ); + + virtual void SendSizeEvent(int flags = 0) wxOVERRIDE; + + // implement base class pure virtuals + virtual void SetLabel( const wxString& label ) wxOVERRIDE; + virtual wxString GetLabel() const wxOVERRIDE; + + virtual void Raise() wxOVERRIDE; + virtual void Lower() wxOVERRIDE; + + virtual bool Show( bool show = true ) wxOVERRIDE; + virtual bool ShowWithEffect(wxShowEffect effect, + unsigned timeout = 0) wxOVERRIDE + { + return OSXShowWithEffect(true, effect, timeout); + } + virtual bool HideWithEffect(wxShowEffect effect, + unsigned timeout = 0) wxOVERRIDE + { + return OSXShowWithEffect(false, effect, timeout); + } + + virtual void SetFocus() wxOVERRIDE; + + virtual void WarpPointer( int x, int y ) wxOVERRIDE; + virtual bool EnableTouchEvents(int eventsMask) wxOVERRIDE; + + virtual void Refresh( bool eraseBackground = true, + const wxRect *rect = NULL ) wxOVERRIDE; + + virtual void Update() wxOVERRIDE; + virtual void ClearBackground() wxOVERRIDE; + + virtual bool SetCursor( const wxCursor &cursor ) wxOVERRIDE; + virtual bool SetFont( const wxFont &font ) wxOVERRIDE; + virtual bool SetBackgroundColour( const wxColour &colour ) wxOVERRIDE; + virtual bool SetForegroundColour( const wxColour &colour ) wxOVERRIDE; + + virtual bool SetBackgroundStyle(wxBackgroundStyle style) wxOVERRIDE; + virtual bool IsTransparentBackgroundSupported(wxString* reason = NULL) const wxOVERRIDE; + + virtual int GetCharHeight() const wxOVERRIDE; + virtual int GetCharWidth() const wxOVERRIDE; + +public: + virtual void SetScrollbar( int orient, int pos, int thumbVisible, + int range, bool refresh = true ) wxOVERRIDE; + virtual void SetScrollPos( int orient, int pos, bool refresh = true ) wxOVERRIDE; + virtual int GetScrollPos( int orient ) const wxOVERRIDE; + virtual int GetScrollThumb( int orient ) const wxOVERRIDE; + virtual int GetScrollRange( int orient ) const wxOVERRIDE; + virtual void ScrollWindow( int dx, int dy, + const wxRect* rect = NULL ) wxOVERRIDE; + virtual void AlwaysShowScrollbars(bool horz = true, bool vert = true) wxOVERRIDE; + virtual bool IsScrollbarAlwaysShown(int orient) const wxOVERRIDE + { + return orient == wxHORIZONTAL ? m_hScrollBarAlwaysShown + : m_vScrollBarAlwaysShown; + } + + virtual bool Reparent( wxWindowBase *newParent ) wxOVERRIDE; + + virtual wxSize GetDPI() const wxOVERRIDE; + virtual double GetDPIScaleFactor() const wxOVERRIDE; + +#if wxUSE_DRAG_AND_DROP + virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE; + +#endif + + // implementation from now on + // -------------------------- + + // simple accessors + // ---------------- + + virtual WXWidget GetHandle() const wxOVERRIDE; + + virtual bool SetTransparent(wxByte alpha) wxOVERRIDE; + virtual bool CanSetTransparent() wxOVERRIDE; + virtual wxByte GetTransparent() const; + + // event handlers + // -------------- + + void OnMouseEvent( wxMouseEvent &event ); + void OnDPIChanged( wxDPIChangedEvent& event ); + + virtual bool AcceptsFocus() const wxOVERRIDE; + virtual void EnableVisibleFocus(bool enabled) wxOVERRIDE; + + virtual bool IsDoubleBuffered() const wxOVERRIDE { return true; } + +public: + // For implementation purposes: + // sometimes decorations make the client area smaller + virtual wxPoint GetClientAreaOrigin() const wxOVERRIDE; + + virtual void TriggerScrollEvent( wxEventType scrollEvent ) ; + // this should not be overridden in classes above wxWindowMac + // because it is called from its destructor via DeleteChildren + virtual void RemoveChild( wxWindowBase *child ) wxOVERRIDE; + + // optimization to avoid creating a user pane in wxWindow::Create if we already know + // we will replace it with our own peer + void DontCreatePeer(); + + // return true unless DontCreatePeer() had been called + bool ShouldCreatePeer() const; + + bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; } + + double GetContentScaleFactor() const wxOVERRIDE; + +protected: + // For controls like radio buttons which are genuinely composite + wxList m_subControls; + + // the peer object, allowing for cleaner API support + + void * m_cgContextRef ; + + mutable bool m_cachedClippedRectValid ; + mutable wxRect m_cachedClippedRectWithOuterStructure ; + mutable wxRect m_cachedClippedRect ; + mutable wxRect m_cachedClippedClientRect ; + mutable wxRegion m_cachedClippedRegionWithOuterStructure ; + mutable wxRegion m_cachedClippedRegion ; + mutable wxRegion m_cachedClippedClientRegion ; + + // insets of the mac control from the wx top left corner + wxPoint m_macTopLeftInset ; + wxPoint m_macBottomRightInset ; + wxByte m_macAlpha ; + + wxScrollBar* m_hScrollBar ; + wxScrollBar* m_vScrollBar ; + bool m_hScrollBarAlwaysShown; + bool m_vScrollBarAlwaysShown; + wxWindow* m_growBox ; + wxString m_label ; + + bool m_isNativeWindowWrapper; + + // set to true if we do a sharp clip at the content area of this window + // must be dynamic as eg a panel normally is not clipping precisely, but if + // it becomes the target window of a scrolled window it has to... + bool m_clipChildren ; + + // implement the base class pure virtuals + virtual void DoGetTextExtent(const wxString& string, + int *x, int *y, + int *descent = NULL, + int *externalLeading = NULL, + const wxFont *theFont = NULL ) const wxOVERRIDE; + + virtual void DoEnable( bool enable ) wxOVERRIDE; +#if wxUSE_MENUS + virtual bool DoPopupMenu( wxMenu *menu, int x, int y ) wxOVERRIDE; +#endif + + virtual void DoFreeze() wxOVERRIDE; + virtual void DoThaw() wxOVERRIDE; + + virtual wxSize DoGetBestSize() const wxOVERRIDE; + virtual wxSize DoGetSizeFromClientSize( const wxSize & size ) const; + virtual void DoClientToScreen( int *x, int *y ) const wxOVERRIDE; + virtual void DoScreenToClient( int *x, int *y ) const wxOVERRIDE; + virtual void DoGetPosition( int *x, int *y ) const wxOVERRIDE; + virtual void DoGetSize( int *width, int *height ) const wxOVERRIDE; + virtual void DoGetClientSize( int *width, int *height ) const wxOVERRIDE; + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO) wxOVERRIDE; + virtual void DoSetClientSize(int width, int height) wxOVERRIDE; + + virtual void DoCaptureMouse() wxOVERRIDE; + virtual void DoReleaseMouse() wxOVERRIDE; + + // move the window to the specified location and resize it: this is called + // from both DoSetSize() and DoSetClientSize() and would usually just call + // ::MoveWindow() except for composite controls which will want to arrange + // themselves inside the given rectangle + virtual void DoMoveWindow( int x, int y, int width, int height ) wxOVERRIDE; + virtual void DoSetWindowVariant( wxWindowVariant variant ) wxOVERRIDE; + +#if wxUSE_TOOLTIPS + virtual void DoSetToolTip( wxToolTip *tip ) wxOVERRIDE; +#endif + +private: + wxDECLARE_NO_COPY_CLASS(wxWindow); + wxDECLARE_EVENT_TABLE(); +}; + +#endif // _WX_WINDOW_H_ #endif #elif defined(__WXQT__) diff --git a/wxheaders/wx/withimages.h b/wxheaders/wx/withimages.h index 3a1cf4f..f4a784d 100644 --- a/wxheaders/wx/withimages.h +++ b/wxheaders/wx/withimages.h @@ -129,6 +129,70 @@ public: return m_imageList; } +#if wxABI_VERSION >= 30202 + // Return logical size of the image to use or (0, 0) if there are none. + wxSize GetImageLogicalSize(const wxWindow* window, int iconIndex) const + { + wxSize size; + + if ( iconIndex != NO_IMAGE ) + { + if ( !m_images.empty() ) + { + size = m_images.at(iconIndex).GetPreferredLogicalSizeFor(window); + } + else if ( m_imageList ) + { + // All images in the image list are of the same size. + size = m_imageList->GetSize(); + } + } + + return size; + } + + // Overload provided to facilitate transition from the existing code using + // wxImageList::GetSize() -- don't use it in the new code. + void GetImageLogicalSize(const wxWindow* window, int iconIndex, + int& width, int& height) const + { + const wxSize size = GetImageLogicalSize(window, iconIndex); + width = size.x; + height = size.y; + } + + // Return the bitmap to use at the current DPI of the given window. + // + // If index == NO_IMAGE, just returns wxNullBitmap. + wxBitmap GetImageBitmapFor(const wxWindow* window, int iconIndex) const + { + wxBitmap bitmap; + + if ( iconIndex != NO_IMAGE ) + { + if ( !m_images.empty() ) + { + bitmap = m_images.at(iconIndex).GetBitmapFor(window); + } + else if ( m_imageList ) + { + bitmap = m_imageList->GetBitmap(iconIndex); + } + else + { + wxFAIL_MSG + ( + "Image index specified, but there are no images.\n" + "\n" + "Did you forget to call SetImages()?" + ); + } + } + + return bitmap; + } +#endif // wxABI_VERSION >= 3.2.2 + protected: // This function is called when the images associated with the control // change, due to either SetImages() or SetImageList() being called. diff --git a/wxheaders/wxext/app_ext.h b/wxheaders/wxext/app_ext.h index 5ce3c75..f0875df 100644 --- a/wxheaders/wxext/app_ext.h +++ b/wxheaders/wxext/app_ext.h @@ -1,8 +1,194 @@ #ifndef _WX_APP_H_EXT_ #define _WX_APP_H_EXT_ +#include #include +class wxAppConsoleBaseExt; +typedef void (*wxAppConsoleBaseExtAddPendingEventwxEventCRFunc)(const wxAppConsoleBaseExt* self, wxEvent const& event); +typedef void (*wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); +typedef bool (*wxAppConsoleBaseExtCallOnInitFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtCleanUpFunc)(const wxAppConsoleBaseExt* self); +typedef wxObjectRefData* (*wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppConsoleBaseExt* self, wxObjectRefData const* data); +typedef wxObjectRefData* (*wxAppConsoleBaseExtCreateRefDataFunc)(const wxAppConsoleBaseExt* self); +typedef wxAppTraits* (*wxAppConsoleBaseExtCreateTraitsFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtDispatchFunc)(const wxAppConsoleBaseExt* self); +typedef void* (*wxAppConsoleBaseExtDoGetClientDataFunc)(const wxAppConsoleBaseExt* self); +typedef wxClientData* (*wxAppConsoleBaseExtDoGetClientObjectFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtDoSetClientDatavoidPFunc)(const wxAppConsoleBaseExt* self, void* data); +typedef void (*wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc)(const wxAppConsoleBaseExt* self, wxClientData* data); +typedef void (*wxAppConsoleBaseExtExitFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtExitMainLoopFunc)(const wxAppConsoleBaseExt* self); +typedef int (*wxAppConsoleBaseExtFilterEventwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); +typedef wxClassInfo* (*wxAppConsoleBaseExtGetClassInfoFunc)(const wxAppConsoleBaseExt* self); +typedef wxEventHashTable& (*wxAppConsoleBaseExtGetEventHashTableFunc)(const wxAppConsoleBaseExt* self); +typedef wxEventTable const* (*wxAppConsoleBaseExtGetEventTableFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); +typedef bool (*wxAppConsoleBaseExtInitializeintRwxCharPPFunc)(const wxAppConsoleBaseExt* self, int& argc, wxChar** argv); +typedef bool (*wxAppConsoleBaseExtIsGUIFunc)(const wxAppConsoleBaseExt* self); +typedef int (*wxAppConsoleBaseExtMainLoopFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppConsoleBaseExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); +typedef void (*wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppConsoleBaseExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); +typedef bool (*wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppConsoleBaseExt* self, wxDynamicEventTableEntry& param0); +typedef void (*wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppConsoleBaseExt* self, wxEventLoopBase* param0); +typedef void (*wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppConsoleBaseExt* self, wxEventLoopBase* param0); +typedef bool (*wxAppConsoleBaseExtOnExceptionInMainLoopFunc)(const wxAppConsoleBaseExt* self); +typedef int (*wxAppConsoleBaseExtOnExitFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtOnFatalExceptionFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtOnInitFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); +typedef void (*wxAppConsoleBaseExtOnLaunchedFunc)(const wxAppConsoleBaseExt* self); +typedef int (*wxAppConsoleBaseExtOnRunFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtOnUnhandledExceptionFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtPendingFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtProcessEventwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); +typedef bool (*wxAppConsoleBaseExtProcessIdleFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtProcessPendingEventsFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtQueueEventwxEventPFunc)(const wxAppConsoleBaseExt* self, wxEvent* event); +typedef void (*wxAppConsoleBaseExtRethrowStoredExceptionFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEventTable& table, wxEvent& event); +typedef void (*wxAppConsoleBaseExtSetCLocaleFunc)(const wxAppConsoleBaseExt* self); +typedef void (*wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler); +typedef void (*wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler); +typedef bool (*wxAppConsoleBaseExtStoreCurrentExceptionFunc)(const wxAppConsoleBaseExt* self); +typedef bool (*wxAppConsoleBaseExtTryAfterwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); +typedef bool (*wxAppConsoleBaseExtTryBeforewxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); +typedef bool (*wxAppConsoleBaseExtUsesEventLoopFunc)(const wxAppConsoleBaseExt* self); +typedef void* (*wxAppConsoleBaseExtWXReservedApp1voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); +typedef void* (*wxAppConsoleBaseExtWXReservedApp2voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); +typedef void* (*wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); +typedef void* (*wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); +typedef void (*wxAppConsoleBaseExtWakeUpIdleFunc)(const wxAppConsoleBaseExt* self); +class wxAppConsoleExt; +typedef void (*wxAppConsoleExtAddPendingEventwxEventCRFunc)(const wxAppConsoleExt* self, wxEvent const& event); +typedef void (*wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); +typedef bool (*wxAppConsoleExtCallOnInitFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtCleanUpFunc)(const wxAppConsoleExt* self); +typedef wxObjectRefData* (*wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppConsoleExt* self, wxObjectRefData const* data); +typedef wxObjectRefData* (*wxAppConsoleExtCreateRefDataFunc)(const wxAppConsoleExt* self); +typedef wxAppTraits* (*wxAppConsoleExtCreateTraitsFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtDispatchFunc)(const wxAppConsoleExt* self); +typedef void* (*wxAppConsoleExtDoGetClientDataFunc)(const wxAppConsoleExt* self); +typedef wxClientData* (*wxAppConsoleExtDoGetClientObjectFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtDoSetClientDatavoidPFunc)(const wxAppConsoleExt* self, void* data); +typedef void (*wxAppConsoleExtDoSetClientObjectwxClientDataPFunc)(const wxAppConsoleExt* self, wxClientData* data); +typedef void (*wxAppConsoleExtExitFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtExitMainLoopFunc)(const wxAppConsoleExt* self); +typedef int (*wxAppConsoleExtFilterEventwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); +typedef wxClassInfo* (*wxAppConsoleExtGetClassInfoFunc)(const wxAppConsoleExt* self); +typedef wxEventHashTable& (*wxAppConsoleExtGetEventHashTableFunc)(const wxAppConsoleExt* self); +typedef wxEventTable const* (*wxAppConsoleExtGetEventTableFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); +typedef bool (*wxAppConsoleExtInitializeintRwxCharPPFunc)(const wxAppConsoleExt* self, int& argc, wxChar** argv); +typedef bool (*wxAppConsoleExtIsGUIFunc)(const wxAppConsoleExt* self); +typedef int (*wxAppConsoleExtMainLoopFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppConsoleExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); +typedef void (*wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppConsoleExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); +typedef bool (*wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppConsoleExt* self, wxDynamicEventTableEntry& param0); +typedef void (*wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppConsoleExt* self, wxEventLoopBase* param0); +typedef void (*wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppConsoleExt* self, wxEventLoopBase* param0); +typedef bool (*wxAppConsoleExtOnExceptionInMainLoopFunc)(const wxAppConsoleExt* self); +typedef int (*wxAppConsoleExtOnExitFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtOnFatalExceptionFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtOnInitFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); +typedef void (*wxAppConsoleExtOnLaunchedFunc)(const wxAppConsoleExt* self); +typedef int (*wxAppConsoleExtOnRunFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtOnUnhandledExceptionFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtPendingFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtProcessEventwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); +typedef bool (*wxAppConsoleExtProcessIdleFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtProcessPendingEventsFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtQueueEventwxEventPFunc)(const wxAppConsoleExt* self, wxEvent* event); +typedef void (*wxAppConsoleExtRethrowStoredExceptionFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppConsoleExt* self, wxEventTable& table, wxEvent& event); +typedef void (*wxAppConsoleExtSetCLocaleFunc)(const wxAppConsoleExt* self); +typedef void (*wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler); +typedef void (*wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler); +typedef bool (*wxAppConsoleExtStoreCurrentExceptionFunc)(const wxAppConsoleExt* self); +typedef bool (*wxAppConsoleExtTryAfterwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); +typedef bool (*wxAppConsoleExtTryBeforewxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); +typedef bool (*wxAppConsoleExtUsesEventLoopFunc)(const wxAppConsoleExt* self); +typedef void* (*wxAppConsoleExtWXReservedApp1voidPFunc)(const wxAppConsoleExt* self, void* param0); +typedef void* (*wxAppConsoleExtWXReservedApp2voidPFunc)(const wxAppConsoleExt* self, void* param0); +typedef void* (*wxAppConsoleExtWXReservedEvtHandler1voidPFunc)(const wxAppConsoleExt* self, void* param0); +typedef void* (*wxAppConsoleExtWXReservedEvtHandler2voidPFunc)(const wxAppConsoleExt* self, void* param0); +typedef void (*wxAppConsoleExtWakeUpIdleFunc)(const wxAppConsoleExt* self); +class wxAppBaseExt; +typedef void (*wxAppBaseExtAddPendingEventwxEventCRFunc)(const wxAppBaseExt* self, wxEvent const& event); +typedef void (*wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppBaseExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); +typedef bool (*wxAppBaseExtCallOnInitFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtCleanUpFunc)(const wxAppBaseExt* self); +typedef wxObjectRefData* (*wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppBaseExt* self, wxObjectRefData const* data); +typedef wxObjectRefData* (*wxAppBaseExtCreateRefDataFunc)(const wxAppBaseExt* self); +typedef wxAppTraits* (*wxAppBaseExtCreateTraitsFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtDispatchFunc)(const wxAppBaseExt* self); +typedef void* (*wxAppBaseExtDoGetClientDataFunc)(const wxAppBaseExt* self); +typedef wxClientData* (*wxAppBaseExtDoGetClientObjectFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtDoSetClientDatavoidPFunc)(const wxAppBaseExt* self, void* data); +typedef void (*wxAppBaseExtDoSetClientObjectwxClientDataPFunc)(const wxAppBaseExt* self, wxClientData* data); +typedef void (*wxAppBaseExtExitFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtExitMainLoopFunc)(const wxAppBaseExt* self); +typedef int (*wxAppBaseExtFilterEventwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); +typedef wxClassInfo* (*wxAppBaseExtGetClassInfoFunc)(const wxAppBaseExt* self); +typedef wxVideoMode (*wxAppBaseExtGetDisplayModeFunc)(const wxAppBaseExt* self); +typedef wxEventHashTable& (*wxAppBaseExtGetEventHashTableFunc)(const wxAppBaseExt* self); +typedef wxEventTable const* (*wxAppBaseExtGetEventTableFunc)(const wxAppBaseExt* self); +typedef wxLayoutDirection (*wxAppBaseExtGetLayoutDirectionFunc)(const wxAppBaseExt* self); +typedef wxWindow* (*wxAppBaseExtGetTopWindowFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppBaseExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); +typedef bool (*wxAppBaseExtInitializeintRwxCharPPFunc)(const wxAppBaseExt* self, int& argc, wxChar** argv); +typedef bool (*wxAppBaseExtIsActiveFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtIsGUIFunc)(const wxAppBaseExt* self); +typedef int (*wxAppBaseExtMainLoopFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppBaseExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); +typedef void (*wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppBaseExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); +typedef bool (*wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppBaseExt* self, wxDynamicEventTableEntry& param0); +typedef void (*wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppBaseExt* self, wxEventLoopBase* param0); +typedef void (*wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppBaseExt* self, wxEventLoopBase* param0); +typedef bool (*wxAppBaseExtOnExceptionInMainLoopFunc)(const wxAppBaseExt* self); +typedef int (*wxAppBaseExtOnExitFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtOnFatalExceptionFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtOnInitFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); +typedef bool (*wxAppBaseExtOnInitGuiFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtOnLaunchedFunc)(const wxAppBaseExt* self); +typedef int (*wxAppBaseExtOnRunFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtOnUnhandledExceptionFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtPendingFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtProcessEventwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); +typedef bool (*wxAppBaseExtProcessIdleFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtProcessPendingEventsFunc)(const wxAppBaseExt* self); +typedef void (*wxAppBaseExtQueueEventwxEventPFunc)(const wxAppBaseExt* self, wxEvent* event); +typedef void (*wxAppBaseExtRethrowStoredExceptionFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtSafeYieldwxWindowPboolFunc)(const wxAppBaseExt* self, wxWindow* win, bool onlyIfNeeded); +typedef bool (*wxAppBaseExtSafeYieldForwxWindowPlongFunc)(const wxAppBaseExt* self, wxWindow* win, long eventsToProcess); +typedef bool (*wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppBaseExt* self, wxEventTable& table, wxEvent& event); +typedef void (*wxAppBaseExtSetActiveboolwxWindowPFunc)(const wxAppBaseExt* self, bool isActive, wxWindow* lastFocus); +typedef void (*wxAppBaseExtSetCLocaleFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtSetDisplayModewxVideoModeCRFunc)(const wxAppBaseExt* self, wxVideoMode const& param0); +typedef bool (*wxAppBaseExtSetNativeThemewxStringCRFunc)(const wxAppBaseExt* self, wxString const& param0); +typedef void (*wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppBaseExt* self, wxEvtHandler* handler); +typedef void (*wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppBaseExt* self, wxEvtHandler* handler); +typedef void (*wxAppBaseExtSetPrintModeintFunc)(const wxAppBaseExt* self, int param0); +typedef bool (*wxAppBaseExtStoreCurrentExceptionFunc)(const wxAppBaseExt* self); +typedef bool (*wxAppBaseExtTryAfterwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); +typedef bool (*wxAppBaseExtTryBeforewxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); +typedef bool (*wxAppBaseExtUsesEventLoopFunc)(const wxAppBaseExt* self); +typedef void* (*wxAppBaseExtWXReservedApp1voidPFunc)(const wxAppBaseExt* self, void* param0); +typedef void* (*wxAppBaseExtWXReservedApp2voidPFunc)(const wxAppBaseExt* self, void* param0); +typedef void* (*wxAppBaseExtWXReservedEvtHandler1voidPFunc)(const wxAppBaseExt* self, void* param0); +typedef void* (*wxAppBaseExtWXReservedEvtHandler2voidPFunc)(const wxAppBaseExt* self, void* param0); +typedef void (*wxAppBaseExtWakeUpIdleFunc)(const wxAppBaseExt* self); class wxAppExt; typedef void (*wxAppExtAddPendingEventwxEventCRFunc)(const wxAppExt* self, wxEvent const& event); typedef void (*wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); @@ -24,6 +210,7 @@ typedef wxVideoMode (*wxAppExtGetDisplayModeFunc)(const wxAppExt* self); typedef wxEventHashTable& (*wxAppExtGetEventHashTableFunc)(const wxAppExt* self); typedef wxEventTable const* (*wxAppExtGetEventTableFunc)(const wxAppExt* self); typedef wxLayoutDirection (*wxAppExtGetLayoutDirectionFunc)(const wxAppExt* self); +typedef int (*wxAppExtGetPrintModeFunc)(const wxAppExt* self); typedef wxWindow* (*wxAppExtGetTopWindowFunc)(const wxAppExt* self); typedef void (*wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); typedef bool (*wxAppExtInitializeintRwxCharPPFunc)(const wxAppExt* self, int& argc, wxChar** argv); @@ -72,6 +259,2005 @@ typedef void* (*wxAppExtWXReservedApp2voidPFunc)(const wxAppExt* self, void* par typedef void* (*wxAppExtWXReservedEvtHandler1voidPFunc)(const wxAppExt* self, void* param0); typedef void* (*wxAppExtWXReservedEvtHandler2voidPFunc)(const wxAppExt* self, void* param0); typedef void (*wxAppExtWakeUpIdleFunc)(const wxAppExt* self); +class wxAppInitializerExt; + +class wxAppConsoleBaseExt: public wxAppConsoleBase +{ +public: + wxAppConsoleBaseExt(): wxAppConsoleBase() { } + virtual ~wxAppConsoleBaseExt() override { } + wxAppConsoleBaseExtAddPendingEventwxEventCRFunc m_wxAppConsoleBaseExtAddPendingEventwxEventCR = NULL; + virtual void AddPendingEvent(wxEvent const& event) override + { + wxAppConsoleBase::AddPendingEvent(event); + if (*m_wxAppConsoleBaseExtAddPendingEventwxEventCR != NULL){ + return m_wxAppConsoleBaseExtAddPendingEventwxEventCR(this, event); + } + } + wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; + virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override + { + wxAppConsoleBase::CallEventHandler(handler, functor, event); + if (*m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ + return m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); + } + } + wxAppConsoleBaseExtCallOnInitFunc m_wxAppConsoleBaseExtCallOnInit = NULL; + virtual bool CallOnInit() override + { + bool res = wxAppConsoleBase::CallOnInit(); + if (*m_wxAppConsoleBaseExtCallOnInit != NULL){ + return m_wxAppConsoleBaseExtCallOnInit(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtCleanUpFunc m_wxAppConsoleBaseExtCleanUp = NULL; + virtual void CleanUp() override + { + wxAppConsoleBase::CleanUp(); + if (*m_wxAppConsoleBaseExtCleanUp != NULL){ + return m_wxAppConsoleBaseExtCleanUp(this); + } + } + wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP = NULL; + virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override + { + wxObjectRefData* res = wxAppConsoleBase::CloneRefData(data); + if (*m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP != NULL){ + return m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP(this, data); + } + else { + return res; + } + } + wxAppConsoleBaseExtCreateRefDataFunc m_wxAppConsoleBaseExtCreateRefData = NULL; + virtual wxObjectRefData* CreateRefData() const override + { + wxObjectRefData* res = wxAppConsoleBase::CreateRefData(); + if (*m_wxAppConsoleBaseExtCreateRefData != NULL){ + return m_wxAppConsoleBaseExtCreateRefData(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtCreateTraitsFunc m_wxAppConsoleBaseExtCreateTraits = NULL; + virtual wxAppTraits* CreateTraits() override + { + wxAppTraits* res = wxAppConsoleBase::CreateTraits(); + if (*m_wxAppConsoleBaseExtCreateTraits != NULL){ + return m_wxAppConsoleBaseExtCreateTraits(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtDispatchFunc m_wxAppConsoleBaseExtDispatch = NULL; + virtual bool Dispatch() override + { + bool res = wxAppConsoleBase::Dispatch(); + if (*m_wxAppConsoleBaseExtDispatch != NULL){ + return m_wxAppConsoleBaseExtDispatch(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtDoGetClientDataFunc m_wxAppConsoleBaseExtDoGetClientData = NULL; + virtual void* DoGetClientData() const override + { + void* res = wxAppConsoleBase::DoGetClientData(); + if (*m_wxAppConsoleBaseExtDoGetClientData != NULL){ + return m_wxAppConsoleBaseExtDoGetClientData(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtDoGetClientObjectFunc m_wxAppConsoleBaseExtDoGetClientObject = NULL; + virtual wxClientData* DoGetClientObject() const override + { + wxClientData* res = wxAppConsoleBase::DoGetClientObject(); + if (*m_wxAppConsoleBaseExtDoGetClientObject != NULL){ + return m_wxAppConsoleBaseExtDoGetClientObject(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtDoSetClientDatavoidPFunc m_wxAppConsoleBaseExtDoSetClientDatavoidP = NULL; + virtual void DoSetClientData(void* data) override + { + wxAppConsoleBase::DoSetClientData(data); + if (*m_wxAppConsoleBaseExtDoSetClientDatavoidP != NULL){ + return m_wxAppConsoleBaseExtDoSetClientDatavoidP(this, data); + } + } + wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP = NULL; + virtual void DoSetClientObject(wxClientData* data) override + { + wxAppConsoleBase::DoSetClientObject(data); + if (*m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP != NULL){ + return m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP(this, data); + } + } + wxAppConsoleBaseExtExitFunc m_wxAppConsoleBaseExtExit = NULL; + virtual void Exit() override + { + wxAppConsoleBase::Exit(); + if (*m_wxAppConsoleBaseExtExit != NULL){ + return m_wxAppConsoleBaseExtExit(this); + } + } + wxAppConsoleBaseExtExitMainLoopFunc m_wxAppConsoleBaseExtExitMainLoop = NULL; + virtual void ExitMainLoop() override + { + wxAppConsoleBase::ExitMainLoop(); + if (*m_wxAppConsoleBaseExtExitMainLoop != NULL){ + return m_wxAppConsoleBaseExtExitMainLoop(this); + } + } + wxAppConsoleBaseExtFilterEventwxEventRFunc m_wxAppConsoleBaseExtFilterEventwxEventR = NULL; + virtual int FilterEvent(wxEvent& event) override + { + int res = wxAppConsoleBase::FilterEvent(event); + if (*m_wxAppConsoleBaseExtFilterEventwxEventR != NULL){ + return m_wxAppConsoleBaseExtFilterEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleBaseExtGetClassInfoFunc m_wxAppConsoleBaseExtGetClassInfo = NULL; + virtual wxClassInfo* GetClassInfo() const override + { + wxClassInfo* res = wxAppConsoleBase::GetClassInfo(); + if (*m_wxAppConsoleBaseExtGetClassInfo != NULL){ + return m_wxAppConsoleBaseExtGetClassInfo(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtGetEventHashTableFunc m_wxAppConsoleBaseExtGetEventHashTable = NULL; + virtual wxEventHashTable& GetEventHashTable() const override + { + wxEventHashTable& res = wxAppConsoleBase::GetEventHashTable(); + if (*m_wxAppConsoleBaseExtGetEventHashTable != NULL){ + return m_wxAppConsoleBaseExtGetEventHashTable(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtGetEventTableFunc m_wxAppConsoleBaseExtGetEventTable = NULL; + virtual wxEventTable const* GetEventTable() const override + { + wxEventTable const* res = wxAppConsoleBase::GetEventTable(); + if (*m_wxAppConsoleBaseExtGetEventTable != NULL){ + return m_wxAppConsoleBaseExtGetEventTable(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; + virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override + { + wxAppConsoleBase::HandleEvent(handler, func, event); + if (*m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ + return m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); + } + } + wxAppConsoleBaseExtInitializeintRwxCharPPFunc m_wxAppConsoleBaseExtInitializeintRwxCharPP = NULL; + virtual bool Initialize(int& argc, wxChar** argv) override + { + bool res = wxAppConsoleBase::Initialize(argc, argv); + if (*m_wxAppConsoleBaseExtInitializeintRwxCharPP != NULL){ + return m_wxAppConsoleBaseExtInitializeintRwxCharPP(this, argc, argv); + } + else { + return res; + } + } + wxAppConsoleBaseExtIsGUIFunc m_wxAppConsoleBaseExtIsGUI = NULL; + virtual bool IsGUI() const override + { + bool res = wxAppConsoleBase::IsGUI(); + if (*m_wxAppConsoleBaseExtIsGUI != NULL){ + return m_wxAppConsoleBaseExtIsGUI(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtMainLoopFunc m_wxAppConsoleBaseExtMainLoop = NULL; + virtual int MainLoop() override + { + int res = wxAppConsoleBase::MainLoop(); + if (*m_wxAppConsoleBaseExtMainLoop != NULL){ + return m_wxAppConsoleBaseExtMainLoop(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; + virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override + { + wxAppConsoleBase::OnAssert(file, line, cond, msg); + if (*m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ + return m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); + } + } + wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; + virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override + { + wxAppConsoleBase::OnAssertFailure(file, line, func, cond, msg); + if (*m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ + return m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); + } + } + wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR = NULL; + virtual bool OnCmdLineError(wxCmdLineParser& parser) override + { + bool res = wxAppConsoleBase::OnCmdLineError(parser); + if (*m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR != NULL){ + return m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR = NULL; + virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override + { + bool res = wxAppConsoleBase::OnCmdLineHelp(parser); + if (*m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR != NULL){ + return m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR = NULL; + virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override + { + bool res = wxAppConsoleBase::OnCmdLineParsed(parser); + if (*m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR != NULL){ + return m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR = NULL; + virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override + { + bool res = wxAppConsoleBase::OnDynamicBind(param0); + if (*m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ + return m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP = NULL; + virtual void OnEventLoopEnter(wxEventLoopBase* param0) override + { + wxAppConsoleBase::OnEventLoopEnter(param0); + if (*m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP != NULL){ + return m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP(this, param0); + } + } + wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP = NULL; + virtual void OnEventLoopExit(wxEventLoopBase* param0) override + { + wxAppConsoleBase::OnEventLoopExit(param0); + if (*m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP != NULL){ + return m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP(this, param0); + } + } + wxAppConsoleBaseExtOnExceptionInMainLoopFunc m_wxAppConsoleBaseExtOnExceptionInMainLoop = NULL; + virtual bool OnExceptionInMainLoop() override + { + bool res = wxAppConsoleBase::OnExceptionInMainLoop(); + if (*m_wxAppConsoleBaseExtOnExceptionInMainLoop != NULL){ + return m_wxAppConsoleBaseExtOnExceptionInMainLoop(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnExitFunc m_wxAppConsoleBaseExtOnExit = NULL; + virtual int OnExit() override + { + int res = wxAppConsoleBase::OnExit(); + if (*m_wxAppConsoleBaseExtOnExit != NULL){ + return m_wxAppConsoleBaseExtOnExit(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnFatalExceptionFunc m_wxAppConsoleBaseExtOnFatalException = NULL; + virtual void OnFatalException() override + { + wxAppConsoleBase::OnFatalException(); + if (*m_wxAppConsoleBaseExtOnFatalException != NULL){ + return m_wxAppConsoleBaseExtOnFatalException(this); + } + } + wxAppConsoleBaseExtOnInitFunc m_wxAppConsoleBaseExtOnInit = NULL; + virtual bool OnInit() override + { + bool res = wxAppConsoleBase::OnInit(); + if (*m_wxAppConsoleBaseExtOnInit != NULL){ + return m_wxAppConsoleBaseExtOnInit(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR = NULL; + virtual void OnInitCmdLine(wxCmdLineParser& parser) override + { + wxAppConsoleBase::OnInitCmdLine(parser); + if (*m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR != NULL){ + return m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR(this, parser); + } + } + wxAppConsoleBaseExtOnLaunchedFunc m_wxAppConsoleBaseExtOnLaunched = NULL; + virtual void OnLaunched() override + { + wxAppConsoleBase::OnLaunched(); + if (*m_wxAppConsoleBaseExtOnLaunched != NULL){ + return m_wxAppConsoleBaseExtOnLaunched(this); + } + } + wxAppConsoleBaseExtOnRunFunc m_wxAppConsoleBaseExtOnRun = NULL; + virtual int OnRun() override + { + int res = wxAppConsoleBase::OnRun(); + if (*m_wxAppConsoleBaseExtOnRun != NULL){ + return m_wxAppConsoleBaseExtOnRun(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtOnUnhandledExceptionFunc m_wxAppConsoleBaseExtOnUnhandledException = NULL; + virtual void OnUnhandledException() override + { + wxAppConsoleBase::OnUnhandledException(); + if (*m_wxAppConsoleBaseExtOnUnhandledException != NULL){ + return m_wxAppConsoleBaseExtOnUnhandledException(this); + } + } + wxAppConsoleBaseExtPendingFunc m_wxAppConsoleBaseExtPending = NULL; + virtual bool Pending() override + { + bool res = wxAppConsoleBase::Pending(); + if (*m_wxAppConsoleBaseExtPending != NULL){ + return m_wxAppConsoleBaseExtPending(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtProcessEventwxEventRFunc m_wxAppConsoleBaseExtProcessEventwxEventR = NULL; + virtual bool ProcessEvent(wxEvent& event) override + { + bool res = wxAppConsoleBase::ProcessEvent(event); + if (*m_wxAppConsoleBaseExtProcessEventwxEventR != NULL){ + return m_wxAppConsoleBaseExtProcessEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleBaseExtProcessIdleFunc m_wxAppConsoleBaseExtProcessIdle = NULL; + virtual bool ProcessIdle() override + { + bool res = wxAppConsoleBase::ProcessIdle(); + if (*m_wxAppConsoleBaseExtProcessIdle != NULL){ + return m_wxAppConsoleBaseExtProcessIdle(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtProcessPendingEventsFunc m_wxAppConsoleBaseExtProcessPendingEvents = NULL; + virtual void ProcessPendingEvents() override + { + wxAppConsoleBase::ProcessPendingEvents(); + if (*m_wxAppConsoleBaseExtProcessPendingEvents != NULL){ + return m_wxAppConsoleBaseExtProcessPendingEvents(this); + } + } + wxAppConsoleBaseExtQueueEventwxEventPFunc m_wxAppConsoleBaseExtQueueEventwxEventP = NULL; + virtual void QueueEvent(wxEvent* event) override + { + wxAppConsoleBase::QueueEvent(event); + if (*m_wxAppConsoleBaseExtQueueEventwxEventP != NULL){ + return m_wxAppConsoleBaseExtQueueEventwxEventP(this, event); + } + } + wxAppConsoleBaseExtRethrowStoredExceptionFunc m_wxAppConsoleBaseExtRethrowStoredException = NULL; + virtual void RethrowStoredException() override + { + wxAppConsoleBase::RethrowStoredException(); + if (*m_wxAppConsoleBaseExtRethrowStoredException != NULL){ + return m_wxAppConsoleBaseExtRethrowStoredException(this); + } + } + wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR = NULL; + virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override + { + bool res = wxAppConsoleBase::SearchEventTable(table, event); + if (*m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR != NULL){ + return m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR(this, table, event); + } + else { + return res; + } + } + wxAppConsoleBaseExtSetCLocaleFunc m_wxAppConsoleBaseExtSetCLocale = NULL; + virtual void SetCLocale() override + { + wxAppConsoleBase::SetCLocale(); + if (*m_wxAppConsoleBaseExtSetCLocale != NULL){ + return m_wxAppConsoleBaseExtSetCLocale(this); + } + } + wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP = NULL; + virtual void SetNextHandler(wxEvtHandler* handler) override + { + wxAppConsoleBase::SetNextHandler(handler); + if (*m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP != NULL){ + return m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP(this, handler); + } + } + wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP = NULL; + virtual void SetPreviousHandler(wxEvtHandler* handler) override + { + wxAppConsoleBase::SetPreviousHandler(handler); + if (*m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP != NULL){ + return m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP(this, handler); + } + } + wxAppConsoleBaseExtStoreCurrentExceptionFunc m_wxAppConsoleBaseExtStoreCurrentException = NULL; + virtual bool StoreCurrentException() override + { + bool res = wxAppConsoleBase::StoreCurrentException(); + if (*m_wxAppConsoleBaseExtStoreCurrentException != NULL){ + return m_wxAppConsoleBaseExtStoreCurrentException(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtTryAfterwxEventRFunc m_wxAppConsoleBaseExtTryAfterwxEventR = NULL; + virtual bool TryAfter(wxEvent& event) override + { + bool res = wxAppConsoleBase::TryAfter(event); + if (*m_wxAppConsoleBaseExtTryAfterwxEventR != NULL){ + return m_wxAppConsoleBaseExtTryAfterwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleBaseExtTryBeforewxEventRFunc m_wxAppConsoleBaseExtTryBeforewxEventR = NULL; + virtual bool TryBefore(wxEvent& event) override + { + bool res = wxAppConsoleBase::TryBefore(event); + if (*m_wxAppConsoleBaseExtTryBeforewxEventR != NULL){ + return m_wxAppConsoleBaseExtTryBeforewxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleBaseExtUsesEventLoopFunc m_wxAppConsoleBaseExtUsesEventLoop = NULL; + virtual bool UsesEventLoop() const override + { + bool res = wxAppConsoleBase::UsesEventLoop(); + if (*m_wxAppConsoleBaseExtUsesEventLoop != NULL){ + return m_wxAppConsoleBaseExtUsesEventLoop(this); + } + else { + return res; + } + } + wxAppConsoleBaseExtWXReservedApp1voidPFunc m_wxAppConsoleBaseExtWXReservedApp1voidP = NULL; + virtual void* WXReservedApp1(void* param0) override + { + void* res = wxAppConsoleBase::WXReservedApp1(param0); + if (*m_wxAppConsoleBaseExtWXReservedApp1voidP != NULL){ + return m_wxAppConsoleBaseExtWXReservedApp1voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleBaseExtWXReservedApp2voidPFunc m_wxAppConsoleBaseExtWXReservedApp2voidP = NULL; + virtual void* WXReservedApp2(void* param0) override + { + void* res = wxAppConsoleBase::WXReservedApp2(param0); + if (*m_wxAppConsoleBaseExtWXReservedApp2voidP != NULL){ + return m_wxAppConsoleBaseExtWXReservedApp2voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP = NULL; + virtual void* WXReservedEvtHandler1(void* param0) override + { + void* res = wxAppConsoleBase::WXReservedEvtHandler1(param0); + if (*m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP != NULL){ + return m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP = NULL; + virtual void* WXReservedEvtHandler2(void* param0) override + { + void* res = wxAppConsoleBase::WXReservedEvtHandler2(param0); + if (*m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP != NULL){ + return m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleBaseExtWakeUpIdleFunc m_wxAppConsoleBaseExtWakeUpIdle = NULL; + virtual void WakeUpIdle() override + { + wxAppConsoleBase::WakeUpIdle(); + if (*m_wxAppConsoleBaseExtWakeUpIdle != NULL){ + return m_wxAppConsoleBaseExtWakeUpIdle(this); + } + } + wxAppConsoleBaseExt(wxAppConsoleBaseExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppConsoleBaseExtCallOnInitFunc a_CallOnInit, wxAppConsoleBaseExtCleanUpFunc a_CleanUp, wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppConsoleBaseExtCreateRefDataFunc a_CreateRefData, wxAppConsoleBaseExtCreateTraitsFunc a_CreateTraits, wxAppConsoleBaseExtDispatchFunc a_Dispatch, wxAppConsoleBaseExtDoGetClientDataFunc a_DoGetClientData, wxAppConsoleBaseExtDoGetClientObjectFunc a_DoGetClientObject, wxAppConsoleBaseExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppConsoleBaseExtExitFunc a_Exit, wxAppConsoleBaseExtExitMainLoopFunc a_ExitMainLoop, wxAppConsoleBaseExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppConsoleBaseExtGetClassInfoFunc a_GetClassInfo, wxAppConsoleBaseExtGetEventHashTableFunc a_GetEventHashTable, wxAppConsoleBaseExtGetEventTableFunc a_GetEventTable, wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppConsoleBaseExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppConsoleBaseExtIsGUIFunc a_IsGUI, wxAppConsoleBaseExtMainLoopFunc a_MainLoop, wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppConsoleBaseExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppConsoleBaseExtOnExitFunc a_OnExit, wxAppConsoleBaseExtOnFatalExceptionFunc a_OnFatalException, wxAppConsoleBaseExtOnInitFunc a_OnInit, wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppConsoleBaseExtOnLaunchedFunc a_OnLaunched, wxAppConsoleBaseExtOnRunFunc a_OnRun, wxAppConsoleBaseExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppConsoleBaseExtPendingFunc a_Pending, wxAppConsoleBaseExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppConsoleBaseExtProcessIdleFunc a_ProcessIdle, wxAppConsoleBaseExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppConsoleBaseExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppConsoleBaseExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppConsoleBaseExtSetCLocaleFunc a_SetCLocale, wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppConsoleBaseExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppConsoleBaseExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppConsoleBaseExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppConsoleBaseExtUsesEventLoopFunc a_UsesEventLoop, wxAppConsoleBaseExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppConsoleBaseExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppConsoleBaseExtWakeUpIdleFunc a_WakeUpIdle): wxAppConsoleBase() { + m_wxAppConsoleBaseExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; + m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; + m_wxAppConsoleBaseExtCallOnInit = a_CallOnInit; + m_wxAppConsoleBaseExtCleanUp = a_CleanUp; + m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; + m_wxAppConsoleBaseExtCreateRefData = a_CreateRefData; + m_wxAppConsoleBaseExtCreateTraits = a_CreateTraits; + m_wxAppConsoleBaseExtDispatch = a_Dispatch; + m_wxAppConsoleBaseExtDoGetClientData = a_DoGetClientData; + m_wxAppConsoleBaseExtDoGetClientObject = a_DoGetClientObject; + m_wxAppConsoleBaseExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; + m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; + m_wxAppConsoleBaseExtExit = a_Exit; + m_wxAppConsoleBaseExtExitMainLoop = a_ExitMainLoop; + m_wxAppConsoleBaseExtFilterEventwxEventR = a_FilterEventwxEventR; + m_wxAppConsoleBaseExtGetClassInfo = a_GetClassInfo; + m_wxAppConsoleBaseExtGetEventHashTable = a_GetEventHashTable; + m_wxAppConsoleBaseExtGetEventTable = a_GetEventTable; + m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; + m_wxAppConsoleBaseExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; + m_wxAppConsoleBaseExtIsGUI = a_IsGUI; + m_wxAppConsoleBaseExtMainLoop = a_MainLoop; + m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; + m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; + m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; + m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; + m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; + m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; + m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; + m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; + m_wxAppConsoleBaseExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; + m_wxAppConsoleBaseExtOnExit = a_OnExit; + m_wxAppConsoleBaseExtOnFatalException = a_OnFatalException; + m_wxAppConsoleBaseExtOnInit = a_OnInit; + m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; + m_wxAppConsoleBaseExtOnLaunched = a_OnLaunched; + m_wxAppConsoleBaseExtOnRun = a_OnRun; + m_wxAppConsoleBaseExtOnUnhandledException = a_OnUnhandledException; + m_wxAppConsoleBaseExtPending = a_Pending; + m_wxAppConsoleBaseExtProcessEventwxEventR = a_ProcessEventwxEventR; + m_wxAppConsoleBaseExtProcessIdle = a_ProcessIdle; + m_wxAppConsoleBaseExtProcessPendingEvents = a_ProcessPendingEvents; + m_wxAppConsoleBaseExtQueueEventwxEventP = a_QueueEventwxEventP; + m_wxAppConsoleBaseExtRethrowStoredException = a_RethrowStoredException; + m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; + m_wxAppConsoleBaseExtSetCLocale = a_SetCLocale; + m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; + m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; + m_wxAppConsoleBaseExtStoreCurrentException = a_StoreCurrentException; + m_wxAppConsoleBaseExtTryAfterwxEventR = a_TryAfterwxEventR; + m_wxAppConsoleBaseExtTryBeforewxEventR = a_TryBeforewxEventR; + m_wxAppConsoleBaseExtUsesEventLoop = a_UsesEventLoop; + m_wxAppConsoleBaseExtWXReservedApp1voidP = a_WXReservedApp1voidP; + m_wxAppConsoleBaseExtWXReservedApp2voidP = a_WXReservedApp2voidP; + m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; + m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; + m_wxAppConsoleBaseExtWakeUpIdle = a_WakeUpIdle; + } +}; + +class wxAppConsoleExt: public wxAppConsole +{ +public: + wxAppConsoleExt(): wxAppConsole() { } + virtual ~wxAppConsoleExt() override { } + wxAppConsoleExtAddPendingEventwxEventCRFunc m_wxAppConsoleExtAddPendingEventwxEventCR = NULL; + virtual void AddPendingEvent(wxEvent const& event) override + { + wxAppConsole::AddPendingEvent(event); + if (*m_wxAppConsoleExtAddPendingEventwxEventCR != NULL){ + return m_wxAppConsoleExtAddPendingEventwxEventCR(this, event); + } + } + wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; + virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override + { + wxAppConsole::CallEventHandler(handler, functor, event); + if (*m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ + return m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); + } + } + wxAppConsoleExtCallOnInitFunc m_wxAppConsoleExtCallOnInit = NULL; + virtual bool CallOnInit() override + { + bool res = wxAppConsole::CallOnInit(); + if (*m_wxAppConsoleExtCallOnInit != NULL){ + return m_wxAppConsoleExtCallOnInit(this); + } + else { + return res; + } + } + wxAppConsoleExtCleanUpFunc m_wxAppConsoleExtCleanUp = NULL; + virtual void CleanUp() override + { + wxAppConsole::CleanUp(); + if (*m_wxAppConsoleExtCleanUp != NULL){ + return m_wxAppConsoleExtCleanUp(this); + } + } + wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP = NULL; + virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override + { + wxObjectRefData* res = wxAppConsole::CloneRefData(data); + if (*m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP != NULL){ + return m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP(this, data); + } + else { + return res; + } + } + wxAppConsoleExtCreateRefDataFunc m_wxAppConsoleExtCreateRefData = NULL; + virtual wxObjectRefData* CreateRefData() const override + { + wxObjectRefData* res = wxAppConsole::CreateRefData(); + if (*m_wxAppConsoleExtCreateRefData != NULL){ + return m_wxAppConsoleExtCreateRefData(this); + } + else { + return res; + } + } + wxAppConsoleExtCreateTraitsFunc m_wxAppConsoleExtCreateTraits = NULL; + virtual wxAppTraits* CreateTraits() override + { + wxAppTraits* res = wxAppConsole::CreateTraits(); + if (*m_wxAppConsoleExtCreateTraits != NULL){ + return m_wxAppConsoleExtCreateTraits(this); + } + else { + return res; + } + } + wxAppConsoleExtDispatchFunc m_wxAppConsoleExtDispatch = NULL; + virtual bool Dispatch() override + { + bool res = wxAppConsole::Dispatch(); + if (*m_wxAppConsoleExtDispatch != NULL){ + return m_wxAppConsoleExtDispatch(this); + } + else { + return res; + } + } + wxAppConsoleExtDoGetClientDataFunc m_wxAppConsoleExtDoGetClientData = NULL; + virtual void* DoGetClientData() const override + { + void* res = wxAppConsole::DoGetClientData(); + if (*m_wxAppConsoleExtDoGetClientData != NULL){ + return m_wxAppConsoleExtDoGetClientData(this); + } + else { + return res; + } + } + wxAppConsoleExtDoGetClientObjectFunc m_wxAppConsoleExtDoGetClientObject = NULL; + virtual wxClientData* DoGetClientObject() const override + { + wxClientData* res = wxAppConsole::DoGetClientObject(); + if (*m_wxAppConsoleExtDoGetClientObject != NULL){ + return m_wxAppConsoleExtDoGetClientObject(this); + } + else { + return res; + } + } + wxAppConsoleExtDoSetClientDatavoidPFunc m_wxAppConsoleExtDoSetClientDatavoidP = NULL; + virtual void DoSetClientData(void* data) override + { + wxAppConsole::DoSetClientData(data); + if (*m_wxAppConsoleExtDoSetClientDatavoidP != NULL){ + return m_wxAppConsoleExtDoSetClientDatavoidP(this, data); + } + } + wxAppConsoleExtDoSetClientObjectwxClientDataPFunc m_wxAppConsoleExtDoSetClientObjectwxClientDataP = NULL; + virtual void DoSetClientObject(wxClientData* data) override + { + wxAppConsole::DoSetClientObject(data); + if (*m_wxAppConsoleExtDoSetClientObjectwxClientDataP != NULL){ + return m_wxAppConsoleExtDoSetClientObjectwxClientDataP(this, data); + } + } + wxAppConsoleExtExitFunc m_wxAppConsoleExtExit = NULL; + virtual void Exit() override + { + wxAppConsole::Exit(); + if (*m_wxAppConsoleExtExit != NULL){ + return m_wxAppConsoleExtExit(this); + } + } + wxAppConsoleExtExitMainLoopFunc m_wxAppConsoleExtExitMainLoop = NULL; + virtual void ExitMainLoop() override + { + wxAppConsole::ExitMainLoop(); + if (*m_wxAppConsoleExtExitMainLoop != NULL){ + return m_wxAppConsoleExtExitMainLoop(this); + } + } + wxAppConsoleExtFilterEventwxEventRFunc m_wxAppConsoleExtFilterEventwxEventR = NULL; + virtual int FilterEvent(wxEvent& event) override + { + int res = wxAppConsole::FilterEvent(event); + if (*m_wxAppConsoleExtFilterEventwxEventR != NULL){ + return m_wxAppConsoleExtFilterEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleExtGetClassInfoFunc m_wxAppConsoleExtGetClassInfo = NULL; + virtual wxClassInfo* GetClassInfo() const override + { + wxClassInfo* res = wxAppConsole::GetClassInfo(); + if (*m_wxAppConsoleExtGetClassInfo != NULL){ + return m_wxAppConsoleExtGetClassInfo(this); + } + else { + return res; + } + } + wxAppConsoleExtGetEventHashTableFunc m_wxAppConsoleExtGetEventHashTable = NULL; + virtual wxEventHashTable& GetEventHashTable() const override + { + wxEventHashTable& res = wxAppConsole::GetEventHashTable(); + if (*m_wxAppConsoleExtGetEventHashTable != NULL){ + return m_wxAppConsoleExtGetEventHashTable(this); + } + else { + return res; + } + } + wxAppConsoleExtGetEventTableFunc m_wxAppConsoleExtGetEventTable = NULL; + virtual wxEventTable const* GetEventTable() const override + { + wxEventTable const* res = wxAppConsole::GetEventTable(); + if (*m_wxAppConsoleExtGetEventTable != NULL){ + return m_wxAppConsoleExtGetEventTable(this); + } + else { + return res; + } + } + wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; + virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override + { + wxAppConsole::HandleEvent(handler, func, event); + if (*m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ + return m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); + } + } + wxAppConsoleExtInitializeintRwxCharPPFunc m_wxAppConsoleExtInitializeintRwxCharPP = NULL; + virtual bool Initialize(int& argc, wxChar** argv) override + { + bool res = wxAppConsole::Initialize(argc, argv); + if (*m_wxAppConsoleExtInitializeintRwxCharPP != NULL){ + return m_wxAppConsoleExtInitializeintRwxCharPP(this, argc, argv); + } + else { + return res; + } + } + wxAppConsoleExtIsGUIFunc m_wxAppConsoleExtIsGUI = NULL; + virtual bool IsGUI() const override + { + bool res = wxAppConsole::IsGUI(); + if (*m_wxAppConsoleExtIsGUI != NULL){ + return m_wxAppConsoleExtIsGUI(this); + } + else { + return res; + } + } + wxAppConsoleExtMainLoopFunc m_wxAppConsoleExtMainLoop = NULL; + virtual int MainLoop() override + { + int res = wxAppConsole::MainLoop(); + if (*m_wxAppConsoleExtMainLoop != NULL){ + return m_wxAppConsoleExtMainLoop(this); + } + else { + return res; + } + } + wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; + virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override + { + wxAppConsole::OnAssert(file, line, cond, msg); + if (*m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ + return m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); + } + } + wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; + virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override + { + wxAppConsole::OnAssertFailure(file, line, func, cond, msg); + if (*m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ + return m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); + } + } + wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR = NULL; + virtual bool OnCmdLineError(wxCmdLineParser& parser) override + { + bool res = wxAppConsole::OnCmdLineError(parser); + if (*m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR != NULL){ + return m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR = NULL; + virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override + { + bool res = wxAppConsole::OnCmdLineHelp(parser); + if (*m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR != NULL){ + return m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR = NULL; + virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override + { + bool res = wxAppConsole::OnCmdLineParsed(parser); + if (*m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR != NULL){ + return m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR = NULL; + virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override + { + bool res = wxAppConsole::OnDynamicBind(param0); + if (*m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ + return m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); + } + else { + return res; + } + } + wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP = NULL; + virtual void OnEventLoopEnter(wxEventLoopBase* param0) override + { + wxAppConsole::OnEventLoopEnter(param0); + if (*m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP != NULL){ + return m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP(this, param0); + } + } + wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP = NULL; + virtual void OnEventLoopExit(wxEventLoopBase* param0) override + { + wxAppConsole::OnEventLoopExit(param0); + if (*m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP != NULL){ + return m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP(this, param0); + } + } + wxAppConsoleExtOnExceptionInMainLoopFunc m_wxAppConsoleExtOnExceptionInMainLoop = NULL; + virtual bool OnExceptionInMainLoop() override + { + bool res = wxAppConsole::OnExceptionInMainLoop(); + if (*m_wxAppConsoleExtOnExceptionInMainLoop != NULL){ + return m_wxAppConsoleExtOnExceptionInMainLoop(this); + } + else { + return res; + } + } + wxAppConsoleExtOnExitFunc m_wxAppConsoleExtOnExit = NULL; + virtual int OnExit() override + { + int res = wxAppConsole::OnExit(); + if (*m_wxAppConsoleExtOnExit != NULL){ + return m_wxAppConsoleExtOnExit(this); + } + else { + return res; + } + } + wxAppConsoleExtOnFatalExceptionFunc m_wxAppConsoleExtOnFatalException = NULL; + virtual void OnFatalException() override + { + wxAppConsole::OnFatalException(); + if (*m_wxAppConsoleExtOnFatalException != NULL){ + return m_wxAppConsoleExtOnFatalException(this); + } + } + wxAppConsoleExtOnInitFunc m_wxAppConsoleExtOnInit = NULL; + virtual bool OnInit() override + { + bool res = wxAppConsole::OnInit(); + if (*m_wxAppConsoleExtOnInit != NULL){ + return m_wxAppConsoleExtOnInit(this); + } + else { + return res; + } + } + wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR = NULL; + virtual void OnInitCmdLine(wxCmdLineParser& parser) override + { + wxAppConsole::OnInitCmdLine(parser); + if (*m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR != NULL){ + return m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR(this, parser); + } + } + wxAppConsoleExtOnLaunchedFunc m_wxAppConsoleExtOnLaunched = NULL; + virtual void OnLaunched() override + { + wxAppConsole::OnLaunched(); + if (*m_wxAppConsoleExtOnLaunched != NULL){ + return m_wxAppConsoleExtOnLaunched(this); + } + } + wxAppConsoleExtOnRunFunc m_wxAppConsoleExtOnRun = NULL; + virtual int OnRun() override + { + int res = wxAppConsole::OnRun(); + if (*m_wxAppConsoleExtOnRun != NULL){ + return m_wxAppConsoleExtOnRun(this); + } + else { + return res; + } + } + wxAppConsoleExtOnUnhandledExceptionFunc m_wxAppConsoleExtOnUnhandledException = NULL; + virtual void OnUnhandledException() override + { + wxAppConsole::OnUnhandledException(); + if (*m_wxAppConsoleExtOnUnhandledException != NULL){ + return m_wxAppConsoleExtOnUnhandledException(this); + } + } + wxAppConsoleExtPendingFunc m_wxAppConsoleExtPending = NULL; + virtual bool Pending() override + { + bool res = wxAppConsole::Pending(); + if (*m_wxAppConsoleExtPending != NULL){ + return m_wxAppConsoleExtPending(this); + } + else { + return res; + } + } + wxAppConsoleExtProcessEventwxEventRFunc m_wxAppConsoleExtProcessEventwxEventR = NULL; + virtual bool ProcessEvent(wxEvent& event) override + { + bool res = wxAppConsole::ProcessEvent(event); + if (*m_wxAppConsoleExtProcessEventwxEventR != NULL){ + return m_wxAppConsoleExtProcessEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleExtProcessIdleFunc m_wxAppConsoleExtProcessIdle = NULL; + virtual bool ProcessIdle() override + { + bool res = wxAppConsole::ProcessIdle(); + if (*m_wxAppConsoleExtProcessIdle != NULL){ + return m_wxAppConsoleExtProcessIdle(this); + } + else { + return res; + } + } + wxAppConsoleExtProcessPendingEventsFunc m_wxAppConsoleExtProcessPendingEvents = NULL; + virtual void ProcessPendingEvents() override + { + wxAppConsole::ProcessPendingEvents(); + if (*m_wxAppConsoleExtProcessPendingEvents != NULL){ + return m_wxAppConsoleExtProcessPendingEvents(this); + } + } + wxAppConsoleExtQueueEventwxEventPFunc m_wxAppConsoleExtQueueEventwxEventP = NULL; + virtual void QueueEvent(wxEvent* event) override + { + wxAppConsole::QueueEvent(event); + if (*m_wxAppConsoleExtQueueEventwxEventP != NULL){ + return m_wxAppConsoleExtQueueEventwxEventP(this, event); + } + } + wxAppConsoleExtRethrowStoredExceptionFunc m_wxAppConsoleExtRethrowStoredException = NULL; + virtual void RethrowStoredException() override + { + wxAppConsole::RethrowStoredException(); + if (*m_wxAppConsoleExtRethrowStoredException != NULL){ + return m_wxAppConsoleExtRethrowStoredException(this); + } + } + wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR = NULL; + virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override + { + bool res = wxAppConsole::SearchEventTable(table, event); + if (*m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR != NULL){ + return m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR(this, table, event); + } + else { + return res; + } + } + wxAppConsoleExtSetCLocaleFunc m_wxAppConsoleExtSetCLocale = NULL; + virtual void SetCLocale() override + { + wxAppConsole::SetCLocale(); + if (*m_wxAppConsoleExtSetCLocale != NULL){ + return m_wxAppConsoleExtSetCLocale(this); + } + } + wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP = NULL; + virtual void SetNextHandler(wxEvtHandler* handler) override + { + wxAppConsole::SetNextHandler(handler); + if (*m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP != NULL){ + return m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP(this, handler); + } + } + wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP = NULL; + virtual void SetPreviousHandler(wxEvtHandler* handler) override + { + wxAppConsole::SetPreviousHandler(handler); + if (*m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP != NULL){ + return m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP(this, handler); + } + } + wxAppConsoleExtStoreCurrentExceptionFunc m_wxAppConsoleExtStoreCurrentException = NULL; + virtual bool StoreCurrentException() override + { + bool res = wxAppConsole::StoreCurrentException(); + if (*m_wxAppConsoleExtStoreCurrentException != NULL){ + return m_wxAppConsoleExtStoreCurrentException(this); + } + else { + return res; + } + } + wxAppConsoleExtTryAfterwxEventRFunc m_wxAppConsoleExtTryAfterwxEventR = NULL; + virtual bool TryAfter(wxEvent& event) override + { + bool res = wxAppConsole::TryAfter(event); + if (*m_wxAppConsoleExtTryAfterwxEventR != NULL){ + return m_wxAppConsoleExtTryAfterwxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleExtTryBeforewxEventRFunc m_wxAppConsoleExtTryBeforewxEventR = NULL; + virtual bool TryBefore(wxEvent& event) override + { + bool res = wxAppConsole::TryBefore(event); + if (*m_wxAppConsoleExtTryBeforewxEventR != NULL){ + return m_wxAppConsoleExtTryBeforewxEventR(this, event); + } + else { + return res; + } + } + wxAppConsoleExtUsesEventLoopFunc m_wxAppConsoleExtUsesEventLoop = NULL; + virtual bool UsesEventLoop() const override + { + bool res = wxAppConsole::UsesEventLoop(); + if (*m_wxAppConsoleExtUsesEventLoop != NULL){ + return m_wxAppConsoleExtUsesEventLoop(this); + } + else { + return res; + } + } + wxAppConsoleExtWXReservedApp1voidPFunc m_wxAppConsoleExtWXReservedApp1voidP = NULL; + virtual void* WXReservedApp1(void* param0) override + { + void* res = wxAppConsole::WXReservedApp1(param0); + if (*m_wxAppConsoleExtWXReservedApp1voidP != NULL){ + return m_wxAppConsoleExtWXReservedApp1voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleExtWXReservedApp2voidPFunc m_wxAppConsoleExtWXReservedApp2voidP = NULL; + virtual void* WXReservedApp2(void* param0) override + { + void* res = wxAppConsole::WXReservedApp2(param0); + if (*m_wxAppConsoleExtWXReservedApp2voidP != NULL){ + return m_wxAppConsoleExtWXReservedApp2voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleExtWXReservedEvtHandler1voidPFunc m_wxAppConsoleExtWXReservedEvtHandler1voidP = NULL; + virtual void* WXReservedEvtHandler1(void* param0) override + { + void* res = wxAppConsole::WXReservedEvtHandler1(param0); + if (*m_wxAppConsoleExtWXReservedEvtHandler1voidP != NULL){ + return m_wxAppConsoleExtWXReservedEvtHandler1voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleExtWXReservedEvtHandler2voidPFunc m_wxAppConsoleExtWXReservedEvtHandler2voidP = NULL; + virtual void* WXReservedEvtHandler2(void* param0) override + { + void* res = wxAppConsole::WXReservedEvtHandler2(param0); + if (*m_wxAppConsoleExtWXReservedEvtHandler2voidP != NULL){ + return m_wxAppConsoleExtWXReservedEvtHandler2voidP(this, param0); + } + else { + return res; + } + } + wxAppConsoleExtWakeUpIdleFunc m_wxAppConsoleExtWakeUpIdle = NULL; + virtual void WakeUpIdle() override + { + wxAppConsole::WakeUpIdle(); + if (*m_wxAppConsoleExtWakeUpIdle != NULL){ + return m_wxAppConsoleExtWakeUpIdle(this); + } + } + wxAppConsoleExt(wxAppConsoleExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppConsoleExtCallOnInitFunc a_CallOnInit, wxAppConsoleExtCleanUpFunc a_CleanUp, wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppConsoleExtCreateRefDataFunc a_CreateRefData, wxAppConsoleExtCreateTraitsFunc a_CreateTraits, wxAppConsoleExtDispatchFunc a_Dispatch, wxAppConsoleExtDoGetClientDataFunc a_DoGetClientData, wxAppConsoleExtDoGetClientObjectFunc a_DoGetClientObject, wxAppConsoleExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppConsoleExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppConsoleExtExitFunc a_Exit, wxAppConsoleExtExitMainLoopFunc a_ExitMainLoop, wxAppConsoleExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppConsoleExtGetClassInfoFunc a_GetClassInfo, wxAppConsoleExtGetEventHashTableFunc a_GetEventHashTable, wxAppConsoleExtGetEventTableFunc a_GetEventTable, wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppConsoleExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppConsoleExtIsGUIFunc a_IsGUI, wxAppConsoleExtMainLoopFunc a_MainLoop, wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppConsoleExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppConsoleExtOnExitFunc a_OnExit, wxAppConsoleExtOnFatalExceptionFunc a_OnFatalException, wxAppConsoleExtOnInitFunc a_OnInit, wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppConsoleExtOnLaunchedFunc a_OnLaunched, wxAppConsoleExtOnRunFunc a_OnRun, wxAppConsoleExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppConsoleExtPendingFunc a_Pending, wxAppConsoleExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppConsoleExtProcessIdleFunc a_ProcessIdle, wxAppConsoleExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppConsoleExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppConsoleExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppConsoleExtSetCLocaleFunc a_SetCLocale, wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppConsoleExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppConsoleExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppConsoleExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppConsoleExtUsesEventLoopFunc a_UsesEventLoop, wxAppConsoleExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppConsoleExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppConsoleExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppConsoleExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppConsoleExtWakeUpIdleFunc a_WakeUpIdle): wxAppConsole() { + m_wxAppConsoleExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; + m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; + m_wxAppConsoleExtCallOnInit = a_CallOnInit; + m_wxAppConsoleExtCleanUp = a_CleanUp; + m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; + m_wxAppConsoleExtCreateRefData = a_CreateRefData; + m_wxAppConsoleExtCreateTraits = a_CreateTraits; + m_wxAppConsoleExtDispatch = a_Dispatch; + m_wxAppConsoleExtDoGetClientData = a_DoGetClientData; + m_wxAppConsoleExtDoGetClientObject = a_DoGetClientObject; + m_wxAppConsoleExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; + m_wxAppConsoleExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; + m_wxAppConsoleExtExit = a_Exit; + m_wxAppConsoleExtExitMainLoop = a_ExitMainLoop; + m_wxAppConsoleExtFilterEventwxEventR = a_FilterEventwxEventR; + m_wxAppConsoleExtGetClassInfo = a_GetClassInfo; + m_wxAppConsoleExtGetEventHashTable = a_GetEventHashTable; + m_wxAppConsoleExtGetEventTable = a_GetEventTable; + m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; + m_wxAppConsoleExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; + m_wxAppConsoleExtIsGUI = a_IsGUI; + m_wxAppConsoleExtMainLoop = a_MainLoop; + m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; + m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; + m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; + m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; + m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; + m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; + m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; + m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; + m_wxAppConsoleExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; + m_wxAppConsoleExtOnExit = a_OnExit; + m_wxAppConsoleExtOnFatalException = a_OnFatalException; + m_wxAppConsoleExtOnInit = a_OnInit; + m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; + m_wxAppConsoleExtOnLaunched = a_OnLaunched; + m_wxAppConsoleExtOnRun = a_OnRun; + m_wxAppConsoleExtOnUnhandledException = a_OnUnhandledException; + m_wxAppConsoleExtPending = a_Pending; + m_wxAppConsoleExtProcessEventwxEventR = a_ProcessEventwxEventR; + m_wxAppConsoleExtProcessIdle = a_ProcessIdle; + m_wxAppConsoleExtProcessPendingEvents = a_ProcessPendingEvents; + m_wxAppConsoleExtQueueEventwxEventP = a_QueueEventwxEventP; + m_wxAppConsoleExtRethrowStoredException = a_RethrowStoredException; + m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; + m_wxAppConsoleExtSetCLocale = a_SetCLocale; + m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; + m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; + m_wxAppConsoleExtStoreCurrentException = a_StoreCurrentException; + m_wxAppConsoleExtTryAfterwxEventR = a_TryAfterwxEventR; + m_wxAppConsoleExtTryBeforewxEventR = a_TryBeforewxEventR; + m_wxAppConsoleExtUsesEventLoop = a_UsesEventLoop; + m_wxAppConsoleExtWXReservedApp1voidP = a_WXReservedApp1voidP; + m_wxAppConsoleExtWXReservedApp2voidP = a_WXReservedApp2voidP; + m_wxAppConsoleExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; + m_wxAppConsoleExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; + m_wxAppConsoleExtWakeUpIdle = a_WakeUpIdle; + } +}; + +class wxAppBaseExt: public wxAppBase +{ +public: + wxAppBaseExt(): wxAppBase() { } + virtual ~wxAppBaseExt() override { } + wxAppBaseExtAddPendingEventwxEventCRFunc m_wxAppBaseExtAddPendingEventwxEventCR = NULL; + virtual void AddPendingEvent(wxEvent const& event) override + { + wxAppBase::AddPendingEvent(event); + if (*m_wxAppBaseExtAddPendingEventwxEventCR != NULL){ + return m_wxAppBaseExtAddPendingEventwxEventCR(this, event); + } + } + wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; + virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override + { + wxAppBase::CallEventHandler(handler, functor, event); + if (*m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ + return m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); + } + } + wxAppBaseExtCallOnInitFunc m_wxAppBaseExtCallOnInit = NULL; + virtual bool CallOnInit() override + { + bool res = wxAppBase::CallOnInit(); + if (*m_wxAppBaseExtCallOnInit != NULL){ + return m_wxAppBaseExtCallOnInit(this); + } + else { + return res; + } + } + wxAppBaseExtCleanUpFunc m_wxAppBaseExtCleanUp = NULL; + virtual void CleanUp() override + { + wxAppBase::CleanUp(); + if (*m_wxAppBaseExtCleanUp != NULL){ + return m_wxAppBaseExtCleanUp(this); + } + } + wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc m_wxAppBaseExtCloneRefDatawxObjectRefDataCP = NULL; + virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override + { + wxObjectRefData* res = wxAppBase::CloneRefData(data); + if (*m_wxAppBaseExtCloneRefDatawxObjectRefDataCP != NULL){ + return m_wxAppBaseExtCloneRefDatawxObjectRefDataCP(this, data); + } + else { + return res; + } + } + wxAppBaseExtCreateRefDataFunc m_wxAppBaseExtCreateRefData = NULL; + virtual wxObjectRefData* CreateRefData() const override + { + wxObjectRefData* res = wxAppBase::CreateRefData(); + if (*m_wxAppBaseExtCreateRefData != NULL){ + return m_wxAppBaseExtCreateRefData(this); + } + else { + return res; + } + } + wxAppBaseExtCreateTraitsFunc m_wxAppBaseExtCreateTraits = NULL; + virtual wxAppTraits* CreateTraits() override + { + wxAppTraits* res = wxAppBase::CreateTraits(); + if (*m_wxAppBaseExtCreateTraits != NULL){ + return m_wxAppBaseExtCreateTraits(this); + } + else { + return res; + } + } + wxAppBaseExtDispatchFunc m_wxAppBaseExtDispatch = NULL; + virtual bool Dispatch() override + { + bool res = wxAppBase::Dispatch(); + if (*m_wxAppBaseExtDispatch != NULL){ + return m_wxAppBaseExtDispatch(this); + } + else { + return res; + } + } + wxAppBaseExtDoGetClientDataFunc m_wxAppBaseExtDoGetClientData = NULL; + virtual void* DoGetClientData() const override + { + void* res = wxAppBase::DoGetClientData(); + if (*m_wxAppBaseExtDoGetClientData != NULL){ + return m_wxAppBaseExtDoGetClientData(this); + } + else { + return res; + } + } + wxAppBaseExtDoGetClientObjectFunc m_wxAppBaseExtDoGetClientObject = NULL; + virtual wxClientData* DoGetClientObject() const override + { + wxClientData* res = wxAppBase::DoGetClientObject(); + if (*m_wxAppBaseExtDoGetClientObject != NULL){ + return m_wxAppBaseExtDoGetClientObject(this); + } + else { + return res; + } + } + wxAppBaseExtDoSetClientDatavoidPFunc m_wxAppBaseExtDoSetClientDatavoidP = NULL; + virtual void DoSetClientData(void* data) override + { + wxAppBase::DoSetClientData(data); + if (*m_wxAppBaseExtDoSetClientDatavoidP != NULL){ + return m_wxAppBaseExtDoSetClientDatavoidP(this, data); + } + } + wxAppBaseExtDoSetClientObjectwxClientDataPFunc m_wxAppBaseExtDoSetClientObjectwxClientDataP = NULL; + virtual void DoSetClientObject(wxClientData* data) override + { + wxAppBase::DoSetClientObject(data); + if (*m_wxAppBaseExtDoSetClientObjectwxClientDataP != NULL){ + return m_wxAppBaseExtDoSetClientObjectwxClientDataP(this, data); + } + } + wxAppBaseExtExitFunc m_wxAppBaseExtExit = NULL; + virtual void Exit() override + { + wxAppBase::Exit(); + if (*m_wxAppBaseExtExit != NULL){ + return m_wxAppBaseExtExit(this); + } + } + wxAppBaseExtExitMainLoopFunc m_wxAppBaseExtExitMainLoop = NULL; + virtual void ExitMainLoop() override + { + wxAppBase::ExitMainLoop(); + if (*m_wxAppBaseExtExitMainLoop != NULL){ + return m_wxAppBaseExtExitMainLoop(this); + } + } + wxAppBaseExtFilterEventwxEventRFunc m_wxAppBaseExtFilterEventwxEventR = NULL; + virtual int FilterEvent(wxEvent& event) override + { + int res = wxAppBase::FilterEvent(event); + if (*m_wxAppBaseExtFilterEventwxEventR != NULL){ + return m_wxAppBaseExtFilterEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppBaseExtGetClassInfoFunc m_wxAppBaseExtGetClassInfo = NULL; + virtual wxClassInfo* GetClassInfo() const override + { + wxClassInfo* res = wxAppBase::GetClassInfo(); + if (*m_wxAppBaseExtGetClassInfo != NULL){ + return m_wxAppBaseExtGetClassInfo(this); + } + else { + return res; + } + } + wxAppBaseExtGetDisplayModeFunc m_wxAppBaseExtGetDisplayMode = NULL; + virtual wxVideoMode GetDisplayMode() const override + { + wxVideoMode res = wxAppBase::GetDisplayMode(); + if (*m_wxAppBaseExtGetDisplayMode != NULL){ + return m_wxAppBaseExtGetDisplayMode(this); + } + else { + return res; + } + } + wxAppBaseExtGetEventHashTableFunc m_wxAppBaseExtGetEventHashTable = NULL; + virtual wxEventHashTable& GetEventHashTable() const override + { + wxEventHashTable& res = wxAppBase::GetEventHashTable(); + if (*m_wxAppBaseExtGetEventHashTable != NULL){ + return m_wxAppBaseExtGetEventHashTable(this); + } + else { + return res; + } + } + wxAppBaseExtGetEventTableFunc m_wxAppBaseExtGetEventTable = NULL; + virtual wxEventTable const* GetEventTable() const override + { + wxEventTable const* res = wxAppBase::GetEventTable(); + if (*m_wxAppBaseExtGetEventTable != NULL){ + return m_wxAppBaseExtGetEventTable(this); + } + else { + return res; + } + } + wxAppBaseExtGetLayoutDirectionFunc m_wxAppBaseExtGetLayoutDirection = NULL; + virtual wxLayoutDirection GetLayoutDirection() const override + { + wxLayoutDirection res = wxAppBase::GetLayoutDirection(); + if (*m_wxAppBaseExtGetLayoutDirection != NULL){ + return m_wxAppBaseExtGetLayoutDirection(this); + } + else { + return res; + } + } + wxAppBaseExtGetTopWindowFunc m_wxAppBaseExtGetTopWindow = NULL; + virtual wxWindow* GetTopWindow() const override + { + wxWindow* res = wxAppBase::GetTopWindow(); + if (*m_wxAppBaseExtGetTopWindow != NULL){ + return m_wxAppBaseExtGetTopWindow(this); + } + else { + return res; + } + } + wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; + virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override + { + wxAppBase::HandleEvent(handler, func, event); + if (*m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ + return m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); + } + } + wxAppBaseExtInitializeintRwxCharPPFunc m_wxAppBaseExtInitializeintRwxCharPP = NULL; + virtual bool Initialize(int& argc, wxChar** argv) override + { + bool res = wxAppBase::Initialize(argc, argv); + if (*m_wxAppBaseExtInitializeintRwxCharPP != NULL){ + return m_wxAppBaseExtInitializeintRwxCharPP(this, argc, argv); + } + else { + return res; + } + } + wxAppBaseExtIsActiveFunc m_wxAppBaseExtIsActive = NULL; + virtual bool IsActive() const override + { + bool res = wxAppBase::IsActive(); + if (*m_wxAppBaseExtIsActive != NULL){ + return m_wxAppBaseExtIsActive(this); + } + else { + return res; + } + } + wxAppBaseExtIsGUIFunc m_wxAppBaseExtIsGUI = NULL; + virtual bool IsGUI() const override + { + bool res = wxAppBase::IsGUI(); + if (*m_wxAppBaseExtIsGUI != NULL){ + return m_wxAppBaseExtIsGUI(this); + } + else { + return res; + } + } + wxAppBaseExtMainLoopFunc m_wxAppBaseExtMainLoop = NULL; + virtual int MainLoop() override + { + int res = wxAppBase::MainLoop(); + if (*m_wxAppBaseExtMainLoop != NULL){ + return m_wxAppBaseExtMainLoop(this); + } + else { + return res; + } + } + wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; + virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override + { + wxAppBase::OnAssert(file, line, cond, msg); + if (*m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ + return m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); + } + } + wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; + virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override + { + wxAppBase::OnAssertFailure(file, line, func, cond, msg); + if (*m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ + return m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); + } + } + wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR = NULL; + virtual bool OnCmdLineError(wxCmdLineParser& parser) override + { + bool res = wxAppBase::OnCmdLineError(parser); + if (*m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR != NULL){ + return m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR = NULL; + virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override + { + bool res = wxAppBase::OnCmdLineHelp(parser); + if (*m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR != NULL){ + return m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR = NULL; + virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override + { + bool res = wxAppBase::OnCmdLineParsed(parser); + if (*m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR != NULL){ + return m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR(this, parser); + } + else { + return res; + } + } + wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR = NULL; + virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override + { + bool res = wxAppBase::OnDynamicBind(param0); + if (*m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ + return m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); + } + else { + return res; + } + } + wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP = NULL; + virtual void OnEventLoopEnter(wxEventLoopBase* param0) override + { + wxAppBase::OnEventLoopEnter(param0); + if (*m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP != NULL){ + return m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP(this, param0); + } + } + wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP = NULL; + virtual void OnEventLoopExit(wxEventLoopBase* param0) override + { + wxAppBase::OnEventLoopExit(param0); + if (*m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP != NULL){ + return m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP(this, param0); + } + } + wxAppBaseExtOnExceptionInMainLoopFunc m_wxAppBaseExtOnExceptionInMainLoop = NULL; + virtual bool OnExceptionInMainLoop() override + { + bool res = wxAppBase::OnExceptionInMainLoop(); + if (*m_wxAppBaseExtOnExceptionInMainLoop != NULL){ + return m_wxAppBaseExtOnExceptionInMainLoop(this); + } + else { + return res; + } + } + wxAppBaseExtOnExitFunc m_wxAppBaseExtOnExit = NULL; + virtual int OnExit() override + { + int res = wxAppBase::OnExit(); + if (*m_wxAppBaseExtOnExit != NULL){ + return m_wxAppBaseExtOnExit(this); + } + else { + return res; + } + } + wxAppBaseExtOnFatalExceptionFunc m_wxAppBaseExtOnFatalException = NULL; + virtual void OnFatalException() override + { + wxAppBase::OnFatalException(); + if (*m_wxAppBaseExtOnFatalException != NULL){ + return m_wxAppBaseExtOnFatalException(this); + } + } + wxAppBaseExtOnInitFunc m_wxAppBaseExtOnInit = NULL; + virtual bool OnInit() override + { + bool res = wxAppBase::OnInit(); + if (*m_wxAppBaseExtOnInit != NULL){ + return m_wxAppBaseExtOnInit(this); + } + else { + return res; + } + } + wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR = NULL; + virtual void OnInitCmdLine(wxCmdLineParser& parser) override + { + wxAppBase::OnInitCmdLine(parser); + if (*m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR != NULL){ + return m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR(this, parser); + } + } + wxAppBaseExtOnInitGuiFunc m_wxAppBaseExtOnInitGui = NULL; + virtual bool OnInitGui() override + { + bool res = wxAppBase::OnInitGui(); + if (*m_wxAppBaseExtOnInitGui != NULL){ + return m_wxAppBaseExtOnInitGui(this); + } + else { + return res; + } + } + wxAppBaseExtOnLaunchedFunc m_wxAppBaseExtOnLaunched = NULL; + virtual void OnLaunched() override + { + wxAppBase::OnLaunched(); + if (*m_wxAppBaseExtOnLaunched != NULL){ + return m_wxAppBaseExtOnLaunched(this); + } + } + wxAppBaseExtOnRunFunc m_wxAppBaseExtOnRun = NULL; + virtual int OnRun() override + { + int res = wxAppBase::OnRun(); + if (*m_wxAppBaseExtOnRun != NULL){ + return m_wxAppBaseExtOnRun(this); + } + else { + return res; + } + } + wxAppBaseExtOnUnhandledExceptionFunc m_wxAppBaseExtOnUnhandledException = NULL; + virtual void OnUnhandledException() override + { + wxAppBase::OnUnhandledException(); + if (*m_wxAppBaseExtOnUnhandledException != NULL){ + return m_wxAppBaseExtOnUnhandledException(this); + } + } + wxAppBaseExtPendingFunc m_wxAppBaseExtPending = NULL; + virtual bool Pending() override + { + bool res = wxAppBase::Pending(); + if (*m_wxAppBaseExtPending != NULL){ + return m_wxAppBaseExtPending(this); + } + else { + return res; + } + } + wxAppBaseExtProcessEventwxEventRFunc m_wxAppBaseExtProcessEventwxEventR = NULL; + virtual bool ProcessEvent(wxEvent& event) override + { + bool res = wxAppBase::ProcessEvent(event); + if (*m_wxAppBaseExtProcessEventwxEventR != NULL){ + return m_wxAppBaseExtProcessEventwxEventR(this, event); + } + else { + return res; + } + } + wxAppBaseExtProcessIdleFunc m_wxAppBaseExtProcessIdle = NULL; + virtual bool ProcessIdle() override + { + bool res = wxAppBase::ProcessIdle(); + if (*m_wxAppBaseExtProcessIdle != NULL){ + return m_wxAppBaseExtProcessIdle(this); + } + else { + return res; + } + } + wxAppBaseExtProcessPendingEventsFunc m_wxAppBaseExtProcessPendingEvents = NULL; + virtual void ProcessPendingEvents() override + { + wxAppBase::ProcessPendingEvents(); + if (*m_wxAppBaseExtProcessPendingEvents != NULL){ + return m_wxAppBaseExtProcessPendingEvents(this); + } + } + wxAppBaseExtQueueEventwxEventPFunc m_wxAppBaseExtQueueEventwxEventP = NULL; + virtual void QueueEvent(wxEvent* event) override + { + wxAppBase::QueueEvent(event); + if (*m_wxAppBaseExtQueueEventwxEventP != NULL){ + return m_wxAppBaseExtQueueEventwxEventP(this, event); + } + } + wxAppBaseExtRethrowStoredExceptionFunc m_wxAppBaseExtRethrowStoredException = NULL; + virtual void RethrowStoredException() override + { + wxAppBase::RethrowStoredException(); + if (*m_wxAppBaseExtRethrowStoredException != NULL){ + return m_wxAppBaseExtRethrowStoredException(this); + } + } + wxAppBaseExtSafeYieldwxWindowPboolFunc m_wxAppBaseExtSafeYieldwxWindowPbool = NULL; + virtual bool SafeYield(wxWindow* win, bool onlyIfNeeded) override + { + bool res = wxAppBase::SafeYield(win, onlyIfNeeded); + if (*m_wxAppBaseExtSafeYieldwxWindowPbool != NULL){ + return m_wxAppBaseExtSafeYieldwxWindowPbool(this, win, onlyIfNeeded); + } + else { + return res; + } + } + wxAppBaseExtSafeYieldForwxWindowPlongFunc m_wxAppBaseExtSafeYieldForwxWindowPlong = NULL; + virtual bool SafeYieldFor(wxWindow* win, long eventsToProcess) override + { + bool res = wxAppBase::SafeYieldFor(win, eventsToProcess); + if (*m_wxAppBaseExtSafeYieldForwxWindowPlong != NULL){ + return m_wxAppBaseExtSafeYieldForwxWindowPlong(this, win, eventsToProcess); + } + else { + return res; + } + } + wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR = NULL; + virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override + { + bool res = wxAppBase::SearchEventTable(table, event); + if (*m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR != NULL){ + return m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR(this, table, event); + } + else { + return res; + } + } + wxAppBaseExtSetActiveboolwxWindowPFunc m_wxAppBaseExtSetActiveboolwxWindowP = NULL; + virtual void SetActive(bool isActive, wxWindow* lastFocus) override + { + wxAppBase::SetActive(isActive, lastFocus); + if (*m_wxAppBaseExtSetActiveboolwxWindowP != NULL){ + return m_wxAppBaseExtSetActiveboolwxWindowP(this, isActive, lastFocus); + } + } + wxAppBaseExtSetCLocaleFunc m_wxAppBaseExtSetCLocale = NULL; + virtual void SetCLocale() override + { + wxAppBase::SetCLocale(); + if (*m_wxAppBaseExtSetCLocale != NULL){ + return m_wxAppBaseExtSetCLocale(this); + } + } + wxAppBaseExtSetDisplayModewxVideoModeCRFunc m_wxAppBaseExtSetDisplayModewxVideoModeCR = NULL; + virtual bool SetDisplayMode(wxVideoMode const& param0) override + { + bool res = wxAppBase::SetDisplayMode(param0); + if (*m_wxAppBaseExtSetDisplayModewxVideoModeCR != NULL){ + return m_wxAppBaseExtSetDisplayModewxVideoModeCR(this, param0); + } + else { + return res; + } + } + wxAppBaseExtSetNativeThemewxStringCRFunc m_wxAppBaseExtSetNativeThemewxStringCR = NULL; + virtual bool SetNativeTheme(wxString const& param0) override + { + bool res = wxAppBase::SetNativeTheme(param0); + if (*m_wxAppBaseExtSetNativeThemewxStringCR != NULL){ + return m_wxAppBaseExtSetNativeThemewxStringCR(this, param0); + } + else { + return res; + } + } + wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc m_wxAppBaseExtSetNextHandlerwxEvtHandlerP = NULL; + virtual void SetNextHandler(wxEvtHandler* handler) override + { + wxAppBase::SetNextHandler(handler); + if (*m_wxAppBaseExtSetNextHandlerwxEvtHandlerP != NULL){ + return m_wxAppBaseExtSetNextHandlerwxEvtHandlerP(this, handler); + } + } + wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP = NULL; + virtual void SetPreviousHandler(wxEvtHandler* handler) override + { + wxAppBase::SetPreviousHandler(handler); + if (*m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP != NULL){ + return m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP(this, handler); + } + } + wxAppBaseExtSetPrintModeintFunc m_wxAppBaseExtSetPrintModeint = NULL; + virtual void SetPrintMode(int param0) override + { + wxAppBase::SetPrintMode(param0); + if (*m_wxAppBaseExtSetPrintModeint != NULL){ + return m_wxAppBaseExtSetPrintModeint(this, param0); + } + } + wxAppBaseExtStoreCurrentExceptionFunc m_wxAppBaseExtStoreCurrentException = NULL; + virtual bool StoreCurrentException() override + { + bool res = wxAppBase::StoreCurrentException(); + if (*m_wxAppBaseExtStoreCurrentException != NULL){ + return m_wxAppBaseExtStoreCurrentException(this); + } + else { + return res; + } + } + wxAppBaseExtTryAfterwxEventRFunc m_wxAppBaseExtTryAfterwxEventR = NULL; + virtual bool TryAfter(wxEvent& event) override + { + bool res = wxAppBase::TryAfter(event); + if (*m_wxAppBaseExtTryAfterwxEventR != NULL){ + return m_wxAppBaseExtTryAfterwxEventR(this, event); + } + else { + return res; + } + } + wxAppBaseExtTryBeforewxEventRFunc m_wxAppBaseExtTryBeforewxEventR = NULL; + virtual bool TryBefore(wxEvent& event) override + { + bool res = wxAppBase::TryBefore(event); + if (*m_wxAppBaseExtTryBeforewxEventR != NULL){ + return m_wxAppBaseExtTryBeforewxEventR(this, event); + } + else { + return res; + } + } + wxAppBaseExtUsesEventLoopFunc m_wxAppBaseExtUsesEventLoop = NULL; + virtual bool UsesEventLoop() const override + { + bool res = wxAppBase::UsesEventLoop(); + if (*m_wxAppBaseExtUsesEventLoop != NULL){ + return m_wxAppBaseExtUsesEventLoop(this); + } + else { + return res; + } + } + wxAppBaseExtWXReservedApp1voidPFunc m_wxAppBaseExtWXReservedApp1voidP = NULL; + virtual void* WXReservedApp1(void* param0) override + { + void* res = wxAppBase::WXReservedApp1(param0); + if (*m_wxAppBaseExtWXReservedApp1voidP != NULL){ + return m_wxAppBaseExtWXReservedApp1voidP(this, param0); + } + else { + return res; + } + } + wxAppBaseExtWXReservedApp2voidPFunc m_wxAppBaseExtWXReservedApp2voidP = NULL; + virtual void* WXReservedApp2(void* param0) override + { + void* res = wxAppBase::WXReservedApp2(param0); + if (*m_wxAppBaseExtWXReservedApp2voidP != NULL){ + return m_wxAppBaseExtWXReservedApp2voidP(this, param0); + } + else { + return res; + } + } + wxAppBaseExtWXReservedEvtHandler1voidPFunc m_wxAppBaseExtWXReservedEvtHandler1voidP = NULL; + virtual void* WXReservedEvtHandler1(void* param0) override + { + void* res = wxAppBase::WXReservedEvtHandler1(param0); + if (*m_wxAppBaseExtWXReservedEvtHandler1voidP != NULL){ + return m_wxAppBaseExtWXReservedEvtHandler1voidP(this, param0); + } + else { + return res; + } + } + wxAppBaseExtWXReservedEvtHandler2voidPFunc m_wxAppBaseExtWXReservedEvtHandler2voidP = NULL; + virtual void* WXReservedEvtHandler2(void* param0) override + { + void* res = wxAppBase::WXReservedEvtHandler2(param0); + if (*m_wxAppBaseExtWXReservedEvtHandler2voidP != NULL){ + return m_wxAppBaseExtWXReservedEvtHandler2voidP(this, param0); + } + else { + return res; + } + } + wxAppBaseExtWakeUpIdleFunc m_wxAppBaseExtWakeUpIdle = NULL; + virtual void WakeUpIdle() override + { + wxAppBase::WakeUpIdle(); + if (*m_wxAppBaseExtWakeUpIdle != NULL){ + return m_wxAppBaseExtWakeUpIdle(this); + } + } + wxAppBaseExt(wxAppBaseExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppBaseExtCallOnInitFunc a_CallOnInit, wxAppBaseExtCleanUpFunc a_CleanUp, wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppBaseExtCreateRefDataFunc a_CreateRefData, wxAppBaseExtCreateTraitsFunc a_CreateTraits, wxAppBaseExtDispatchFunc a_Dispatch, wxAppBaseExtDoGetClientDataFunc a_DoGetClientData, wxAppBaseExtDoGetClientObjectFunc a_DoGetClientObject, wxAppBaseExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppBaseExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppBaseExtExitFunc a_Exit, wxAppBaseExtExitMainLoopFunc a_ExitMainLoop, wxAppBaseExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppBaseExtGetClassInfoFunc a_GetClassInfo, wxAppBaseExtGetDisplayModeFunc a_GetDisplayMode, wxAppBaseExtGetEventHashTableFunc a_GetEventHashTable, wxAppBaseExtGetEventTableFunc a_GetEventTable, wxAppBaseExtGetLayoutDirectionFunc a_GetLayoutDirection, wxAppBaseExtGetTopWindowFunc a_GetTopWindow, wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppBaseExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppBaseExtIsActiveFunc a_IsActive, wxAppBaseExtIsGUIFunc a_IsGUI, wxAppBaseExtMainLoopFunc a_MainLoop, wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppBaseExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppBaseExtOnExitFunc a_OnExit, wxAppBaseExtOnFatalExceptionFunc a_OnFatalException, wxAppBaseExtOnInitFunc a_OnInit, wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppBaseExtOnInitGuiFunc a_OnInitGui, wxAppBaseExtOnLaunchedFunc a_OnLaunched, wxAppBaseExtOnRunFunc a_OnRun, wxAppBaseExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppBaseExtPendingFunc a_Pending, wxAppBaseExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppBaseExtProcessIdleFunc a_ProcessIdle, wxAppBaseExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppBaseExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppBaseExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppBaseExtSafeYieldwxWindowPboolFunc a_SafeYieldwxWindowPbool, wxAppBaseExtSafeYieldForwxWindowPlongFunc a_SafeYieldForwxWindowPlong, wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppBaseExtSetActiveboolwxWindowPFunc a_SetActiveboolwxWindowP, wxAppBaseExtSetCLocaleFunc a_SetCLocale, wxAppBaseExtSetDisplayModewxVideoModeCRFunc a_SetDisplayModewxVideoModeCR, wxAppBaseExtSetNativeThemewxStringCRFunc a_SetNativeThemewxStringCR, wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppBaseExtSetPrintModeintFunc a_SetPrintModeint, wxAppBaseExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppBaseExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppBaseExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppBaseExtUsesEventLoopFunc a_UsesEventLoop, wxAppBaseExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppBaseExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppBaseExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppBaseExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppBaseExtWakeUpIdleFunc a_WakeUpIdle): wxAppBase() { + m_wxAppBaseExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; + m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; + m_wxAppBaseExtCallOnInit = a_CallOnInit; + m_wxAppBaseExtCleanUp = a_CleanUp; + m_wxAppBaseExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; + m_wxAppBaseExtCreateRefData = a_CreateRefData; + m_wxAppBaseExtCreateTraits = a_CreateTraits; + m_wxAppBaseExtDispatch = a_Dispatch; + m_wxAppBaseExtDoGetClientData = a_DoGetClientData; + m_wxAppBaseExtDoGetClientObject = a_DoGetClientObject; + m_wxAppBaseExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; + m_wxAppBaseExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; + m_wxAppBaseExtExit = a_Exit; + m_wxAppBaseExtExitMainLoop = a_ExitMainLoop; + m_wxAppBaseExtFilterEventwxEventR = a_FilterEventwxEventR; + m_wxAppBaseExtGetClassInfo = a_GetClassInfo; + m_wxAppBaseExtGetDisplayMode = a_GetDisplayMode; + m_wxAppBaseExtGetEventHashTable = a_GetEventHashTable; + m_wxAppBaseExtGetEventTable = a_GetEventTable; + m_wxAppBaseExtGetLayoutDirection = a_GetLayoutDirection; + m_wxAppBaseExtGetTopWindow = a_GetTopWindow; + m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; + m_wxAppBaseExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; + m_wxAppBaseExtIsActive = a_IsActive; + m_wxAppBaseExtIsGUI = a_IsGUI; + m_wxAppBaseExtMainLoop = a_MainLoop; + m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; + m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; + m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; + m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; + m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; + m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; + m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; + m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; + m_wxAppBaseExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; + m_wxAppBaseExtOnExit = a_OnExit; + m_wxAppBaseExtOnFatalException = a_OnFatalException; + m_wxAppBaseExtOnInit = a_OnInit; + m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; + m_wxAppBaseExtOnInitGui = a_OnInitGui; + m_wxAppBaseExtOnLaunched = a_OnLaunched; + m_wxAppBaseExtOnRun = a_OnRun; + m_wxAppBaseExtOnUnhandledException = a_OnUnhandledException; + m_wxAppBaseExtPending = a_Pending; + m_wxAppBaseExtProcessEventwxEventR = a_ProcessEventwxEventR; + m_wxAppBaseExtProcessIdle = a_ProcessIdle; + m_wxAppBaseExtProcessPendingEvents = a_ProcessPendingEvents; + m_wxAppBaseExtQueueEventwxEventP = a_QueueEventwxEventP; + m_wxAppBaseExtRethrowStoredException = a_RethrowStoredException; + m_wxAppBaseExtSafeYieldwxWindowPbool = a_SafeYieldwxWindowPbool; + m_wxAppBaseExtSafeYieldForwxWindowPlong = a_SafeYieldForwxWindowPlong; + m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; + m_wxAppBaseExtSetActiveboolwxWindowP = a_SetActiveboolwxWindowP; + m_wxAppBaseExtSetCLocale = a_SetCLocale; + m_wxAppBaseExtSetDisplayModewxVideoModeCR = a_SetDisplayModewxVideoModeCR; + m_wxAppBaseExtSetNativeThemewxStringCR = a_SetNativeThemewxStringCR; + m_wxAppBaseExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; + m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; + m_wxAppBaseExtSetPrintModeint = a_SetPrintModeint; + m_wxAppBaseExtStoreCurrentException = a_StoreCurrentException; + m_wxAppBaseExtTryAfterwxEventR = a_TryAfterwxEventR; + m_wxAppBaseExtTryBeforewxEventR = a_TryBeforewxEventR; + m_wxAppBaseExtUsesEventLoop = a_UsesEventLoop; + m_wxAppBaseExtWXReservedApp1voidP = a_WXReservedApp1voidP; + m_wxAppBaseExtWXReservedApp2voidP = a_WXReservedApp2voidP; + m_wxAppBaseExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; + m_wxAppBaseExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; + m_wxAppBaseExtWakeUpIdle = a_WakeUpIdle; + } +}; class wxAppExt: public wxApp { @@ -277,6 +2463,17 @@ public: return res; } } + wxAppExtGetPrintModeFunc m_wxAppExtGetPrintMode = NULL; + virtual int GetPrintMode() const override + { + int res = wxApp::GetPrintMode(); + if (*m_wxAppExtGetPrintMode != NULL){ + return m_wxAppExtGetPrintMode(this); + } + else { + return res; + } + } wxAppExtGetTopWindowFunc m_wxAppExtGetTopWindow = NULL; virtual wxWindow* GetTopWindow() const override { @@ -751,7 +2948,7 @@ public: return m_wxAppExtWakeUpIdle(this); } } - wxAppExt(wxAppExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppExtCallOnInitFunc a_CallOnInit, wxAppExtCleanUpFunc a_CleanUp, wxAppExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppExtCreateRefDataFunc a_CreateRefData, wxAppExtCreateTraitsFunc a_CreateTraits, wxAppExtDispatchFunc a_Dispatch, wxAppExtDoGetClientDataFunc a_DoGetClientData, wxAppExtDoGetClientObjectFunc a_DoGetClientObject, wxAppExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppExtExitFunc a_Exit, wxAppExtExitMainLoopFunc a_ExitMainLoop, wxAppExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppExtGetClassInfoFunc a_GetClassInfo, wxAppExtGetDisplayModeFunc a_GetDisplayMode, wxAppExtGetEventHashTableFunc a_GetEventHashTable, wxAppExtGetEventTableFunc a_GetEventTable, wxAppExtGetLayoutDirectionFunc a_GetLayoutDirection, wxAppExtGetTopWindowFunc a_GetTopWindow, wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppExtIsActiveFunc a_IsActive, wxAppExtIsGUIFunc a_IsGUI, wxAppExtMainLoopFunc a_MainLoop, wxAppExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppExtOnExitFunc a_OnExit, wxAppExtOnFatalExceptionFunc a_OnFatalException, wxAppExtOnInitFunc a_OnInit, wxAppExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppExtOnInitGuiFunc a_OnInitGui, wxAppExtOnLaunchedFunc a_OnLaunched, wxAppExtOnRunFunc a_OnRun, wxAppExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppExtPendingFunc a_Pending, wxAppExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppExtProcessIdleFunc a_ProcessIdle, wxAppExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppExtSafeYieldwxWindowPboolFunc a_SafeYieldwxWindowPbool, wxAppExtSafeYieldForwxWindowPlongFunc a_SafeYieldForwxWindowPlong, wxAppExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppExtSetActiveboolwxWindowPFunc a_SetActiveboolwxWindowP, wxAppExtSetCLocaleFunc a_SetCLocale, wxAppExtSetDisplayModewxVideoModeCRFunc a_SetDisplayModewxVideoModeCR, wxAppExtSetNativeThemewxStringCRFunc a_SetNativeThemewxStringCR, wxAppExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppExtSetPrintModeintFunc a_SetPrintModeint, wxAppExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppExtUsesEventLoopFunc a_UsesEventLoop, wxAppExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppExtWakeUpIdleFunc a_WakeUpIdle): wxApp() { + wxAppExt(wxAppExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppExtCallOnInitFunc a_CallOnInit, wxAppExtCleanUpFunc a_CleanUp, wxAppExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppExtCreateRefDataFunc a_CreateRefData, wxAppExtCreateTraitsFunc a_CreateTraits, wxAppExtDispatchFunc a_Dispatch, wxAppExtDoGetClientDataFunc a_DoGetClientData, wxAppExtDoGetClientObjectFunc a_DoGetClientObject, wxAppExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppExtExitFunc a_Exit, wxAppExtExitMainLoopFunc a_ExitMainLoop, wxAppExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppExtGetClassInfoFunc a_GetClassInfo, wxAppExtGetDisplayModeFunc a_GetDisplayMode, wxAppExtGetEventHashTableFunc a_GetEventHashTable, wxAppExtGetEventTableFunc a_GetEventTable, wxAppExtGetLayoutDirectionFunc a_GetLayoutDirection, wxAppExtGetPrintModeFunc a_GetPrintMode, wxAppExtGetTopWindowFunc a_GetTopWindow, wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppExtIsActiveFunc a_IsActive, wxAppExtIsGUIFunc a_IsGUI, wxAppExtMainLoopFunc a_MainLoop, wxAppExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppExtOnExitFunc a_OnExit, wxAppExtOnFatalExceptionFunc a_OnFatalException, wxAppExtOnInitFunc a_OnInit, wxAppExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppExtOnInitGuiFunc a_OnInitGui, wxAppExtOnLaunchedFunc a_OnLaunched, wxAppExtOnRunFunc a_OnRun, wxAppExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppExtPendingFunc a_Pending, wxAppExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppExtProcessIdleFunc a_ProcessIdle, wxAppExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppExtSafeYieldwxWindowPboolFunc a_SafeYieldwxWindowPbool, wxAppExtSafeYieldForwxWindowPlongFunc a_SafeYieldForwxWindowPlong, wxAppExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppExtSetActiveboolwxWindowPFunc a_SetActiveboolwxWindowP, wxAppExtSetCLocaleFunc a_SetCLocale, wxAppExtSetDisplayModewxVideoModeCRFunc a_SetDisplayModewxVideoModeCR, wxAppExtSetNativeThemewxStringCRFunc a_SetNativeThemewxStringCR, wxAppExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppExtSetPrintModeintFunc a_SetPrintModeint, wxAppExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppExtUsesEventLoopFunc a_UsesEventLoop, wxAppExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppExtWakeUpIdleFunc a_WakeUpIdle): wxApp() { m_wxAppExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; m_wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; m_wxAppExtCallOnInit = a_CallOnInit; @@ -772,6 +2969,7 @@ public: m_wxAppExtGetEventHashTable = a_GetEventHashTable; m_wxAppExtGetEventTable = a_GetEventTable; m_wxAppExtGetLayoutDirection = a_GetLayoutDirection; + m_wxAppExtGetPrintMode = a_GetPrintMode; m_wxAppExtGetTopWindow = a_GetTopWindow; m_wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; m_wxAppExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; @@ -830,4 +3028,5 @@ public: }; + #endif diff --git a/wxheaders/wxext/app_ext2.h b/wxheaders/wxext/app_ext2.h deleted file mode 100644 index f0875df..0000000 --- a/wxheaders/wxext/app_ext2.h +++ /dev/null @@ -1,3032 +0,0 @@ -#ifndef _WX_APP_H_EXT_ -#define _WX_APP_H_EXT_ - -#include -#include - -class wxAppConsoleBaseExt; -typedef void (*wxAppConsoleBaseExtAddPendingEventwxEventCRFunc)(const wxAppConsoleBaseExt* self, wxEvent const& event); -typedef void (*wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); -typedef bool (*wxAppConsoleBaseExtCallOnInitFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtCleanUpFunc)(const wxAppConsoleBaseExt* self); -typedef wxObjectRefData* (*wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppConsoleBaseExt* self, wxObjectRefData const* data); -typedef wxObjectRefData* (*wxAppConsoleBaseExtCreateRefDataFunc)(const wxAppConsoleBaseExt* self); -typedef wxAppTraits* (*wxAppConsoleBaseExtCreateTraitsFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtDispatchFunc)(const wxAppConsoleBaseExt* self); -typedef void* (*wxAppConsoleBaseExtDoGetClientDataFunc)(const wxAppConsoleBaseExt* self); -typedef wxClientData* (*wxAppConsoleBaseExtDoGetClientObjectFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtDoSetClientDatavoidPFunc)(const wxAppConsoleBaseExt* self, void* data); -typedef void (*wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc)(const wxAppConsoleBaseExt* self, wxClientData* data); -typedef void (*wxAppConsoleBaseExtExitFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtExitMainLoopFunc)(const wxAppConsoleBaseExt* self); -typedef int (*wxAppConsoleBaseExtFilterEventwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); -typedef wxClassInfo* (*wxAppConsoleBaseExtGetClassInfoFunc)(const wxAppConsoleBaseExt* self); -typedef wxEventHashTable& (*wxAppConsoleBaseExtGetEventHashTableFunc)(const wxAppConsoleBaseExt* self); -typedef wxEventTable const* (*wxAppConsoleBaseExtGetEventTableFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); -typedef bool (*wxAppConsoleBaseExtInitializeintRwxCharPPFunc)(const wxAppConsoleBaseExt* self, int& argc, wxChar** argv); -typedef bool (*wxAppConsoleBaseExtIsGUIFunc)(const wxAppConsoleBaseExt* self); -typedef int (*wxAppConsoleBaseExtMainLoopFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppConsoleBaseExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); -typedef void (*wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppConsoleBaseExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); -typedef bool (*wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppConsoleBaseExt* self, wxDynamicEventTableEntry& param0); -typedef void (*wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppConsoleBaseExt* self, wxEventLoopBase* param0); -typedef void (*wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppConsoleBaseExt* self, wxEventLoopBase* param0); -typedef bool (*wxAppConsoleBaseExtOnExceptionInMainLoopFunc)(const wxAppConsoleBaseExt* self); -typedef int (*wxAppConsoleBaseExtOnExitFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtOnFatalExceptionFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtOnInitFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppConsoleBaseExt* self, wxCmdLineParser& parser); -typedef void (*wxAppConsoleBaseExtOnLaunchedFunc)(const wxAppConsoleBaseExt* self); -typedef int (*wxAppConsoleBaseExtOnRunFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtOnUnhandledExceptionFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtPendingFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtProcessEventwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); -typedef bool (*wxAppConsoleBaseExtProcessIdleFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtProcessPendingEventsFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtQueueEventwxEventPFunc)(const wxAppConsoleBaseExt* self, wxEvent* event); -typedef void (*wxAppConsoleBaseExtRethrowStoredExceptionFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEventTable& table, wxEvent& event); -typedef void (*wxAppConsoleBaseExtSetCLocaleFunc)(const wxAppConsoleBaseExt* self); -typedef void (*wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler); -typedef void (*wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppConsoleBaseExt* self, wxEvtHandler* handler); -typedef bool (*wxAppConsoleBaseExtStoreCurrentExceptionFunc)(const wxAppConsoleBaseExt* self); -typedef bool (*wxAppConsoleBaseExtTryAfterwxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); -typedef bool (*wxAppConsoleBaseExtTryBeforewxEventRFunc)(const wxAppConsoleBaseExt* self, wxEvent& event); -typedef bool (*wxAppConsoleBaseExtUsesEventLoopFunc)(const wxAppConsoleBaseExt* self); -typedef void* (*wxAppConsoleBaseExtWXReservedApp1voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); -typedef void* (*wxAppConsoleBaseExtWXReservedApp2voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); -typedef void* (*wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); -typedef void* (*wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc)(const wxAppConsoleBaseExt* self, void* param0); -typedef void (*wxAppConsoleBaseExtWakeUpIdleFunc)(const wxAppConsoleBaseExt* self); -class wxAppConsoleExt; -typedef void (*wxAppConsoleExtAddPendingEventwxEventCRFunc)(const wxAppConsoleExt* self, wxEvent const& event); -typedef void (*wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); -typedef bool (*wxAppConsoleExtCallOnInitFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtCleanUpFunc)(const wxAppConsoleExt* self); -typedef wxObjectRefData* (*wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppConsoleExt* self, wxObjectRefData const* data); -typedef wxObjectRefData* (*wxAppConsoleExtCreateRefDataFunc)(const wxAppConsoleExt* self); -typedef wxAppTraits* (*wxAppConsoleExtCreateTraitsFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtDispatchFunc)(const wxAppConsoleExt* self); -typedef void* (*wxAppConsoleExtDoGetClientDataFunc)(const wxAppConsoleExt* self); -typedef wxClientData* (*wxAppConsoleExtDoGetClientObjectFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtDoSetClientDatavoidPFunc)(const wxAppConsoleExt* self, void* data); -typedef void (*wxAppConsoleExtDoSetClientObjectwxClientDataPFunc)(const wxAppConsoleExt* self, wxClientData* data); -typedef void (*wxAppConsoleExtExitFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtExitMainLoopFunc)(const wxAppConsoleExt* self); -typedef int (*wxAppConsoleExtFilterEventwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); -typedef wxClassInfo* (*wxAppConsoleExtGetClassInfoFunc)(const wxAppConsoleExt* self); -typedef wxEventHashTable& (*wxAppConsoleExtGetEventHashTableFunc)(const wxAppConsoleExt* self); -typedef wxEventTable const* (*wxAppConsoleExtGetEventTableFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); -typedef bool (*wxAppConsoleExtInitializeintRwxCharPPFunc)(const wxAppConsoleExt* self, int& argc, wxChar** argv); -typedef bool (*wxAppConsoleExtIsGUIFunc)(const wxAppConsoleExt* self); -typedef int (*wxAppConsoleExtMainLoopFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppConsoleExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); -typedef void (*wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppConsoleExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); -typedef bool (*wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppConsoleExt* self, wxDynamicEventTableEntry& param0); -typedef void (*wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppConsoleExt* self, wxEventLoopBase* param0); -typedef void (*wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppConsoleExt* self, wxEventLoopBase* param0); -typedef bool (*wxAppConsoleExtOnExceptionInMainLoopFunc)(const wxAppConsoleExt* self); -typedef int (*wxAppConsoleExtOnExitFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtOnFatalExceptionFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtOnInitFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppConsoleExt* self, wxCmdLineParser& parser); -typedef void (*wxAppConsoleExtOnLaunchedFunc)(const wxAppConsoleExt* self); -typedef int (*wxAppConsoleExtOnRunFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtOnUnhandledExceptionFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtPendingFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtProcessEventwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); -typedef bool (*wxAppConsoleExtProcessIdleFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtProcessPendingEventsFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtQueueEventwxEventPFunc)(const wxAppConsoleExt* self, wxEvent* event); -typedef void (*wxAppConsoleExtRethrowStoredExceptionFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppConsoleExt* self, wxEventTable& table, wxEvent& event); -typedef void (*wxAppConsoleExtSetCLocaleFunc)(const wxAppConsoleExt* self); -typedef void (*wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler); -typedef void (*wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppConsoleExt* self, wxEvtHandler* handler); -typedef bool (*wxAppConsoleExtStoreCurrentExceptionFunc)(const wxAppConsoleExt* self); -typedef bool (*wxAppConsoleExtTryAfterwxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); -typedef bool (*wxAppConsoleExtTryBeforewxEventRFunc)(const wxAppConsoleExt* self, wxEvent& event); -typedef bool (*wxAppConsoleExtUsesEventLoopFunc)(const wxAppConsoleExt* self); -typedef void* (*wxAppConsoleExtWXReservedApp1voidPFunc)(const wxAppConsoleExt* self, void* param0); -typedef void* (*wxAppConsoleExtWXReservedApp2voidPFunc)(const wxAppConsoleExt* self, void* param0); -typedef void* (*wxAppConsoleExtWXReservedEvtHandler1voidPFunc)(const wxAppConsoleExt* self, void* param0); -typedef void* (*wxAppConsoleExtWXReservedEvtHandler2voidPFunc)(const wxAppConsoleExt* self, void* param0); -typedef void (*wxAppConsoleExtWakeUpIdleFunc)(const wxAppConsoleExt* self); -class wxAppBaseExt; -typedef void (*wxAppBaseExtAddPendingEventwxEventCRFunc)(const wxAppBaseExt* self, wxEvent const& event); -typedef void (*wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppBaseExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); -typedef bool (*wxAppBaseExtCallOnInitFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtCleanUpFunc)(const wxAppBaseExt* self); -typedef wxObjectRefData* (*wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppBaseExt* self, wxObjectRefData const* data); -typedef wxObjectRefData* (*wxAppBaseExtCreateRefDataFunc)(const wxAppBaseExt* self); -typedef wxAppTraits* (*wxAppBaseExtCreateTraitsFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtDispatchFunc)(const wxAppBaseExt* self); -typedef void* (*wxAppBaseExtDoGetClientDataFunc)(const wxAppBaseExt* self); -typedef wxClientData* (*wxAppBaseExtDoGetClientObjectFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtDoSetClientDatavoidPFunc)(const wxAppBaseExt* self, void* data); -typedef void (*wxAppBaseExtDoSetClientObjectwxClientDataPFunc)(const wxAppBaseExt* self, wxClientData* data); -typedef void (*wxAppBaseExtExitFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtExitMainLoopFunc)(const wxAppBaseExt* self); -typedef int (*wxAppBaseExtFilterEventwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); -typedef wxClassInfo* (*wxAppBaseExtGetClassInfoFunc)(const wxAppBaseExt* self); -typedef wxVideoMode (*wxAppBaseExtGetDisplayModeFunc)(const wxAppBaseExt* self); -typedef wxEventHashTable& (*wxAppBaseExtGetEventHashTableFunc)(const wxAppBaseExt* self); -typedef wxEventTable const* (*wxAppBaseExtGetEventTableFunc)(const wxAppBaseExt* self); -typedef wxLayoutDirection (*wxAppBaseExtGetLayoutDirectionFunc)(const wxAppBaseExt* self); -typedef wxWindow* (*wxAppBaseExtGetTopWindowFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppBaseExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); -typedef bool (*wxAppBaseExtInitializeintRwxCharPPFunc)(const wxAppBaseExt* self, int& argc, wxChar** argv); -typedef bool (*wxAppBaseExtIsActiveFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtIsGUIFunc)(const wxAppBaseExt* self); -typedef int (*wxAppBaseExtMainLoopFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppBaseExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); -typedef void (*wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppBaseExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); -typedef bool (*wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppBaseExt* self, wxDynamicEventTableEntry& param0); -typedef void (*wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppBaseExt* self, wxEventLoopBase* param0); -typedef void (*wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppBaseExt* self, wxEventLoopBase* param0); -typedef bool (*wxAppBaseExtOnExceptionInMainLoopFunc)(const wxAppBaseExt* self); -typedef int (*wxAppBaseExtOnExitFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtOnFatalExceptionFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtOnInitFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppBaseExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppBaseExtOnInitGuiFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtOnLaunchedFunc)(const wxAppBaseExt* self); -typedef int (*wxAppBaseExtOnRunFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtOnUnhandledExceptionFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtPendingFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtProcessEventwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); -typedef bool (*wxAppBaseExtProcessIdleFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtProcessPendingEventsFunc)(const wxAppBaseExt* self); -typedef void (*wxAppBaseExtQueueEventwxEventPFunc)(const wxAppBaseExt* self, wxEvent* event); -typedef void (*wxAppBaseExtRethrowStoredExceptionFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtSafeYieldwxWindowPboolFunc)(const wxAppBaseExt* self, wxWindow* win, bool onlyIfNeeded); -typedef bool (*wxAppBaseExtSafeYieldForwxWindowPlongFunc)(const wxAppBaseExt* self, wxWindow* win, long eventsToProcess); -typedef bool (*wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppBaseExt* self, wxEventTable& table, wxEvent& event); -typedef void (*wxAppBaseExtSetActiveboolwxWindowPFunc)(const wxAppBaseExt* self, bool isActive, wxWindow* lastFocus); -typedef void (*wxAppBaseExtSetCLocaleFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtSetDisplayModewxVideoModeCRFunc)(const wxAppBaseExt* self, wxVideoMode const& param0); -typedef bool (*wxAppBaseExtSetNativeThemewxStringCRFunc)(const wxAppBaseExt* self, wxString const& param0); -typedef void (*wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppBaseExt* self, wxEvtHandler* handler); -typedef void (*wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppBaseExt* self, wxEvtHandler* handler); -typedef void (*wxAppBaseExtSetPrintModeintFunc)(const wxAppBaseExt* self, int param0); -typedef bool (*wxAppBaseExtStoreCurrentExceptionFunc)(const wxAppBaseExt* self); -typedef bool (*wxAppBaseExtTryAfterwxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); -typedef bool (*wxAppBaseExtTryBeforewxEventRFunc)(const wxAppBaseExt* self, wxEvent& event); -typedef bool (*wxAppBaseExtUsesEventLoopFunc)(const wxAppBaseExt* self); -typedef void* (*wxAppBaseExtWXReservedApp1voidPFunc)(const wxAppBaseExt* self, void* param0); -typedef void* (*wxAppBaseExtWXReservedApp2voidPFunc)(const wxAppBaseExt* self, void* param0); -typedef void* (*wxAppBaseExtWXReservedEvtHandler1voidPFunc)(const wxAppBaseExt* self, void* param0); -typedef void* (*wxAppBaseExtWXReservedEvtHandler2voidPFunc)(const wxAppBaseExt* self, void* param0); -typedef void (*wxAppBaseExtWakeUpIdleFunc)(const wxAppBaseExt* self); -class wxAppExt; -typedef void (*wxAppExtAddPendingEventwxEventCRFunc)(const wxAppExt* self, wxEvent const& event); -typedef void (*wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc)(const wxAppExt* self, wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event); -typedef bool (*wxAppExtCallOnInitFunc)(const wxAppExt* self); -typedef void (*wxAppExtCleanUpFunc)(const wxAppExt* self); -typedef wxObjectRefData* (*wxAppExtCloneRefDatawxObjectRefDataCPFunc)(const wxAppExt* self, wxObjectRefData const* data); -typedef wxObjectRefData* (*wxAppExtCreateRefDataFunc)(const wxAppExt* self); -typedef wxAppTraits* (*wxAppExtCreateTraitsFunc)(const wxAppExt* self); -typedef bool (*wxAppExtDispatchFunc)(const wxAppExt* self); -typedef void* (*wxAppExtDoGetClientDataFunc)(const wxAppExt* self); -typedef wxClientData* (*wxAppExtDoGetClientObjectFunc)(const wxAppExt* self); -typedef void (*wxAppExtDoSetClientDatavoidPFunc)(const wxAppExt* self, void* data); -typedef void (*wxAppExtDoSetClientObjectwxClientDataPFunc)(const wxAppExt* self, wxClientData* data); -typedef void (*wxAppExtExitFunc)(const wxAppExt* self); -typedef void (*wxAppExtExitMainLoopFunc)(const wxAppExt* self); -typedef int (*wxAppExtFilterEventwxEventRFunc)(const wxAppExt* self, wxEvent& event); -typedef wxClassInfo* (*wxAppExtGetClassInfoFunc)(const wxAppExt* self); -typedef wxVideoMode (*wxAppExtGetDisplayModeFunc)(const wxAppExt* self); -typedef wxEventHashTable& (*wxAppExtGetEventHashTableFunc)(const wxAppExt* self); -typedef wxEventTable const* (*wxAppExtGetEventTableFunc)(const wxAppExt* self); -typedef wxLayoutDirection (*wxAppExtGetLayoutDirectionFunc)(const wxAppExt* self); -typedef int (*wxAppExtGetPrintModeFunc)(const wxAppExt* self); -typedef wxWindow* (*wxAppExtGetTopWindowFunc)(const wxAppExt* self); -typedef void (*wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc)(const wxAppExt* self, wxEvtHandler* handler, wxEventFunction func, wxEvent& event); -typedef bool (*wxAppExtInitializeintRwxCharPPFunc)(const wxAppExt* self, int& argc, wxChar** argv); -typedef bool (*wxAppExtIsActiveFunc)(const wxAppExt* self); -typedef bool (*wxAppExtIsGUIFunc)(const wxAppExt* self); -typedef int (*wxAppExtMainLoopFunc)(const wxAppExt* self); -typedef void (*wxAppExtOnAssertwxCharCPintwxCharCPwxCharCPFunc)(const wxAppExt* self, wxChar const* file, int line, wxChar const* cond, wxChar const* msg); -typedef void (*wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc)(const wxAppExt* self, wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg); -typedef bool (*wxAppExtOnCmdLineErrorwxCmdLineParserRFunc)(const wxAppExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppExtOnCmdLineHelpwxCmdLineParserRFunc)(const wxAppExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppExtOnCmdLineParsedwxCmdLineParserRFunc)(const wxAppExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppExtOnDynamicBindwxDynamicEventTableEntryRFunc)(const wxAppExt* self, wxDynamicEventTableEntry& param0); -typedef void (*wxAppExtOnEventLoopEnterwxEventLoopBasePFunc)(const wxAppExt* self, wxEventLoopBase* param0); -typedef void (*wxAppExtOnEventLoopExitwxEventLoopBasePFunc)(const wxAppExt* self, wxEventLoopBase* param0); -typedef bool (*wxAppExtOnExceptionInMainLoopFunc)(const wxAppExt* self); -typedef int (*wxAppExtOnExitFunc)(const wxAppExt* self); -typedef void (*wxAppExtOnFatalExceptionFunc)(const wxAppExt* self); -typedef bool (*wxAppExtOnInitFunc)(const wxAppExt* self); -typedef void (*wxAppExtOnInitCmdLinewxCmdLineParserRFunc)(const wxAppExt* self, wxCmdLineParser& parser); -typedef bool (*wxAppExtOnInitGuiFunc)(const wxAppExt* self); -typedef void (*wxAppExtOnLaunchedFunc)(const wxAppExt* self); -typedef int (*wxAppExtOnRunFunc)(const wxAppExt* self); -typedef void (*wxAppExtOnUnhandledExceptionFunc)(const wxAppExt* self); -typedef bool (*wxAppExtPendingFunc)(const wxAppExt* self); -typedef bool (*wxAppExtProcessEventwxEventRFunc)(const wxAppExt* self, wxEvent& event); -typedef bool (*wxAppExtProcessIdleFunc)(const wxAppExt* self); -typedef void (*wxAppExtProcessPendingEventsFunc)(const wxAppExt* self); -typedef void (*wxAppExtQueueEventwxEventPFunc)(const wxAppExt* self, wxEvent* event); -typedef void (*wxAppExtRethrowStoredExceptionFunc)(const wxAppExt* self); -typedef bool (*wxAppExtSafeYieldwxWindowPboolFunc)(const wxAppExt* self, wxWindow* win, bool onlyIfNeeded); -typedef bool (*wxAppExtSafeYieldForwxWindowPlongFunc)(const wxAppExt* self, wxWindow* win, long eventsToProcess); -typedef bool (*wxAppExtSearchEventTablewxEventTableRwxEventRFunc)(const wxAppExt* self, wxEventTable& table, wxEvent& event); -typedef void (*wxAppExtSetActiveboolwxWindowPFunc)(const wxAppExt* self, bool isActive, wxWindow* lastFocus); -typedef void (*wxAppExtSetCLocaleFunc)(const wxAppExt* self); -typedef bool (*wxAppExtSetDisplayModewxVideoModeCRFunc)(const wxAppExt* self, wxVideoMode const& param0); -typedef bool (*wxAppExtSetNativeThemewxStringCRFunc)(const wxAppExt* self, wxString const& param0); -typedef void (*wxAppExtSetNextHandlerwxEvtHandlerPFunc)(const wxAppExt* self, wxEvtHandler* handler); -typedef void (*wxAppExtSetPreviousHandlerwxEvtHandlerPFunc)(const wxAppExt* self, wxEvtHandler* handler); -typedef void (*wxAppExtSetPrintModeintFunc)(const wxAppExt* self, int param0); -typedef bool (*wxAppExtStoreCurrentExceptionFunc)(const wxAppExt* self); -typedef bool (*wxAppExtTryAfterwxEventRFunc)(const wxAppExt* self, wxEvent& event); -typedef bool (*wxAppExtTryBeforewxEventRFunc)(const wxAppExt* self, wxEvent& event); -typedef bool (*wxAppExtUsesEventLoopFunc)(const wxAppExt* self); -typedef void* (*wxAppExtWXReservedApp1voidPFunc)(const wxAppExt* self, void* param0); -typedef void* (*wxAppExtWXReservedApp2voidPFunc)(const wxAppExt* self, void* param0); -typedef void* (*wxAppExtWXReservedEvtHandler1voidPFunc)(const wxAppExt* self, void* param0); -typedef void* (*wxAppExtWXReservedEvtHandler2voidPFunc)(const wxAppExt* self, void* param0); -typedef void (*wxAppExtWakeUpIdleFunc)(const wxAppExt* self); -class wxAppInitializerExt; - -class wxAppConsoleBaseExt: public wxAppConsoleBase -{ -public: - wxAppConsoleBaseExt(): wxAppConsoleBase() { } - virtual ~wxAppConsoleBaseExt() override { } - wxAppConsoleBaseExtAddPendingEventwxEventCRFunc m_wxAppConsoleBaseExtAddPendingEventwxEventCR = NULL; - virtual void AddPendingEvent(wxEvent const& event) override - { - wxAppConsoleBase::AddPendingEvent(event); - if (*m_wxAppConsoleBaseExtAddPendingEventwxEventCR != NULL){ - return m_wxAppConsoleBaseExtAddPendingEventwxEventCR(this, event); - } - } - wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; - virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override - { - wxAppConsoleBase::CallEventHandler(handler, functor, event); - if (*m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ - return m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); - } - } - wxAppConsoleBaseExtCallOnInitFunc m_wxAppConsoleBaseExtCallOnInit = NULL; - virtual bool CallOnInit() override - { - bool res = wxAppConsoleBase::CallOnInit(); - if (*m_wxAppConsoleBaseExtCallOnInit != NULL){ - return m_wxAppConsoleBaseExtCallOnInit(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtCleanUpFunc m_wxAppConsoleBaseExtCleanUp = NULL; - virtual void CleanUp() override - { - wxAppConsoleBase::CleanUp(); - if (*m_wxAppConsoleBaseExtCleanUp != NULL){ - return m_wxAppConsoleBaseExtCleanUp(this); - } - } - wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP = NULL; - virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override - { - wxObjectRefData* res = wxAppConsoleBase::CloneRefData(data); - if (*m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP != NULL){ - return m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP(this, data); - } - else { - return res; - } - } - wxAppConsoleBaseExtCreateRefDataFunc m_wxAppConsoleBaseExtCreateRefData = NULL; - virtual wxObjectRefData* CreateRefData() const override - { - wxObjectRefData* res = wxAppConsoleBase::CreateRefData(); - if (*m_wxAppConsoleBaseExtCreateRefData != NULL){ - return m_wxAppConsoleBaseExtCreateRefData(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtCreateTraitsFunc m_wxAppConsoleBaseExtCreateTraits = NULL; - virtual wxAppTraits* CreateTraits() override - { - wxAppTraits* res = wxAppConsoleBase::CreateTraits(); - if (*m_wxAppConsoleBaseExtCreateTraits != NULL){ - return m_wxAppConsoleBaseExtCreateTraits(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtDispatchFunc m_wxAppConsoleBaseExtDispatch = NULL; - virtual bool Dispatch() override - { - bool res = wxAppConsoleBase::Dispatch(); - if (*m_wxAppConsoleBaseExtDispatch != NULL){ - return m_wxAppConsoleBaseExtDispatch(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtDoGetClientDataFunc m_wxAppConsoleBaseExtDoGetClientData = NULL; - virtual void* DoGetClientData() const override - { - void* res = wxAppConsoleBase::DoGetClientData(); - if (*m_wxAppConsoleBaseExtDoGetClientData != NULL){ - return m_wxAppConsoleBaseExtDoGetClientData(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtDoGetClientObjectFunc m_wxAppConsoleBaseExtDoGetClientObject = NULL; - virtual wxClientData* DoGetClientObject() const override - { - wxClientData* res = wxAppConsoleBase::DoGetClientObject(); - if (*m_wxAppConsoleBaseExtDoGetClientObject != NULL){ - return m_wxAppConsoleBaseExtDoGetClientObject(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtDoSetClientDatavoidPFunc m_wxAppConsoleBaseExtDoSetClientDatavoidP = NULL; - virtual void DoSetClientData(void* data) override - { - wxAppConsoleBase::DoSetClientData(data); - if (*m_wxAppConsoleBaseExtDoSetClientDatavoidP != NULL){ - return m_wxAppConsoleBaseExtDoSetClientDatavoidP(this, data); - } - } - wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP = NULL; - virtual void DoSetClientObject(wxClientData* data) override - { - wxAppConsoleBase::DoSetClientObject(data); - if (*m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP != NULL){ - return m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP(this, data); - } - } - wxAppConsoleBaseExtExitFunc m_wxAppConsoleBaseExtExit = NULL; - virtual void Exit() override - { - wxAppConsoleBase::Exit(); - if (*m_wxAppConsoleBaseExtExit != NULL){ - return m_wxAppConsoleBaseExtExit(this); - } - } - wxAppConsoleBaseExtExitMainLoopFunc m_wxAppConsoleBaseExtExitMainLoop = NULL; - virtual void ExitMainLoop() override - { - wxAppConsoleBase::ExitMainLoop(); - if (*m_wxAppConsoleBaseExtExitMainLoop != NULL){ - return m_wxAppConsoleBaseExtExitMainLoop(this); - } - } - wxAppConsoleBaseExtFilterEventwxEventRFunc m_wxAppConsoleBaseExtFilterEventwxEventR = NULL; - virtual int FilterEvent(wxEvent& event) override - { - int res = wxAppConsoleBase::FilterEvent(event); - if (*m_wxAppConsoleBaseExtFilterEventwxEventR != NULL){ - return m_wxAppConsoleBaseExtFilterEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleBaseExtGetClassInfoFunc m_wxAppConsoleBaseExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxAppConsoleBase::GetClassInfo(); - if (*m_wxAppConsoleBaseExtGetClassInfo != NULL){ - return m_wxAppConsoleBaseExtGetClassInfo(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtGetEventHashTableFunc m_wxAppConsoleBaseExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxAppConsoleBase::GetEventHashTable(); - if (*m_wxAppConsoleBaseExtGetEventHashTable != NULL){ - return m_wxAppConsoleBaseExtGetEventHashTable(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtGetEventTableFunc m_wxAppConsoleBaseExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxAppConsoleBase::GetEventTable(); - if (*m_wxAppConsoleBaseExtGetEventTable != NULL){ - return m_wxAppConsoleBaseExtGetEventTable(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; - virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override - { - wxAppConsoleBase::HandleEvent(handler, func, event); - if (*m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ - return m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); - } - } - wxAppConsoleBaseExtInitializeintRwxCharPPFunc m_wxAppConsoleBaseExtInitializeintRwxCharPP = NULL; - virtual bool Initialize(int& argc, wxChar** argv) override - { - bool res = wxAppConsoleBase::Initialize(argc, argv); - if (*m_wxAppConsoleBaseExtInitializeintRwxCharPP != NULL){ - return m_wxAppConsoleBaseExtInitializeintRwxCharPP(this, argc, argv); - } - else { - return res; - } - } - wxAppConsoleBaseExtIsGUIFunc m_wxAppConsoleBaseExtIsGUI = NULL; - virtual bool IsGUI() const override - { - bool res = wxAppConsoleBase::IsGUI(); - if (*m_wxAppConsoleBaseExtIsGUI != NULL){ - return m_wxAppConsoleBaseExtIsGUI(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtMainLoopFunc m_wxAppConsoleBaseExtMainLoop = NULL; - virtual int MainLoop() override - { - int res = wxAppConsoleBase::MainLoop(); - if (*m_wxAppConsoleBaseExtMainLoop != NULL){ - return m_wxAppConsoleBaseExtMainLoop(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; - virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override - { - wxAppConsoleBase::OnAssert(file, line, cond, msg); - if (*m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ - return m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); - } - } - wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; - virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override - { - wxAppConsoleBase::OnAssertFailure(file, line, func, cond, msg); - if (*m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ - return m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); - } - } - wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR = NULL; - virtual bool OnCmdLineError(wxCmdLineParser& parser) override - { - bool res = wxAppConsoleBase::OnCmdLineError(parser); - if (*m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR != NULL){ - return m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR = NULL; - virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override - { - bool res = wxAppConsoleBase::OnCmdLineHelp(parser); - if (*m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR != NULL){ - return m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR = NULL; - virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override - { - bool res = wxAppConsoleBase::OnCmdLineParsed(parser); - if (*m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR != NULL){ - return m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR = NULL; - virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override - { - bool res = wxAppConsoleBase::OnDynamicBind(param0); - if (*m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ - return m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP = NULL; - virtual void OnEventLoopEnter(wxEventLoopBase* param0) override - { - wxAppConsoleBase::OnEventLoopEnter(param0); - if (*m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP != NULL){ - return m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP(this, param0); - } - } - wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP = NULL; - virtual void OnEventLoopExit(wxEventLoopBase* param0) override - { - wxAppConsoleBase::OnEventLoopExit(param0); - if (*m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP != NULL){ - return m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP(this, param0); - } - } - wxAppConsoleBaseExtOnExceptionInMainLoopFunc m_wxAppConsoleBaseExtOnExceptionInMainLoop = NULL; - virtual bool OnExceptionInMainLoop() override - { - bool res = wxAppConsoleBase::OnExceptionInMainLoop(); - if (*m_wxAppConsoleBaseExtOnExceptionInMainLoop != NULL){ - return m_wxAppConsoleBaseExtOnExceptionInMainLoop(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnExitFunc m_wxAppConsoleBaseExtOnExit = NULL; - virtual int OnExit() override - { - int res = wxAppConsoleBase::OnExit(); - if (*m_wxAppConsoleBaseExtOnExit != NULL){ - return m_wxAppConsoleBaseExtOnExit(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnFatalExceptionFunc m_wxAppConsoleBaseExtOnFatalException = NULL; - virtual void OnFatalException() override - { - wxAppConsoleBase::OnFatalException(); - if (*m_wxAppConsoleBaseExtOnFatalException != NULL){ - return m_wxAppConsoleBaseExtOnFatalException(this); - } - } - wxAppConsoleBaseExtOnInitFunc m_wxAppConsoleBaseExtOnInit = NULL; - virtual bool OnInit() override - { - bool res = wxAppConsoleBase::OnInit(); - if (*m_wxAppConsoleBaseExtOnInit != NULL){ - return m_wxAppConsoleBaseExtOnInit(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR = NULL; - virtual void OnInitCmdLine(wxCmdLineParser& parser) override - { - wxAppConsoleBase::OnInitCmdLine(parser); - if (*m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR != NULL){ - return m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR(this, parser); - } - } - wxAppConsoleBaseExtOnLaunchedFunc m_wxAppConsoleBaseExtOnLaunched = NULL; - virtual void OnLaunched() override - { - wxAppConsoleBase::OnLaunched(); - if (*m_wxAppConsoleBaseExtOnLaunched != NULL){ - return m_wxAppConsoleBaseExtOnLaunched(this); - } - } - wxAppConsoleBaseExtOnRunFunc m_wxAppConsoleBaseExtOnRun = NULL; - virtual int OnRun() override - { - int res = wxAppConsoleBase::OnRun(); - if (*m_wxAppConsoleBaseExtOnRun != NULL){ - return m_wxAppConsoleBaseExtOnRun(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtOnUnhandledExceptionFunc m_wxAppConsoleBaseExtOnUnhandledException = NULL; - virtual void OnUnhandledException() override - { - wxAppConsoleBase::OnUnhandledException(); - if (*m_wxAppConsoleBaseExtOnUnhandledException != NULL){ - return m_wxAppConsoleBaseExtOnUnhandledException(this); - } - } - wxAppConsoleBaseExtPendingFunc m_wxAppConsoleBaseExtPending = NULL; - virtual bool Pending() override - { - bool res = wxAppConsoleBase::Pending(); - if (*m_wxAppConsoleBaseExtPending != NULL){ - return m_wxAppConsoleBaseExtPending(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtProcessEventwxEventRFunc m_wxAppConsoleBaseExtProcessEventwxEventR = NULL; - virtual bool ProcessEvent(wxEvent& event) override - { - bool res = wxAppConsoleBase::ProcessEvent(event); - if (*m_wxAppConsoleBaseExtProcessEventwxEventR != NULL){ - return m_wxAppConsoleBaseExtProcessEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleBaseExtProcessIdleFunc m_wxAppConsoleBaseExtProcessIdle = NULL; - virtual bool ProcessIdle() override - { - bool res = wxAppConsoleBase::ProcessIdle(); - if (*m_wxAppConsoleBaseExtProcessIdle != NULL){ - return m_wxAppConsoleBaseExtProcessIdle(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtProcessPendingEventsFunc m_wxAppConsoleBaseExtProcessPendingEvents = NULL; - virtual void ProcessPendingEvents() override - { - wxAppConsoleBase::ProcessPendingEvents(); - if (*m_wxAppConsoleBaseExtProcessPendingEvents != NULL){ - return m_wxAppConsoleBaseExtProcessPendingEvents(this); - } - } - wxAppConsoleBaseExtQueueEventwxEventPFunc m_wxAppConsoleBaseExtQueueEventwxEventP = NULL; - virtual void QueueEvent(wxEvent* event) override - { - wxAppConsoleBase::QueueEvent(event); - if (*m_wxAppConsoleBaseExtQueueEventwxEventP != NULL){ - return m_wxAppConsoleBaseExtQueueEventwxEventP(this, event); - } - } - wxAppConsoleBaseExtRethrowStoredExceptionFunc m_wxAppConsoleBaseExtRethrowStoredException = NULL; - virtual void RethrowStoredException() override - { - wxAppConsoleBase::RethrowStoredException(); - if (*m_wxAppConsoleBaseExtRethrowStoredException != NULL){ - return m_wxAppConsoleBaseExtRethrowStoredException(this); - } - } - wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR = NULL; - virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override - { - bool res = wxAppConsoleBase::SearchEventTable(table, event); - if (*m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR != NULL){ - return m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR(this, table, event); - } - else { - return res; - } - } - wxAppConsoleBaseExtSetCLocaleFunc m_wxAppConsoleBaseExtSetCLocale = NULL; - virtual void SetCLocale() override - { - wxAppConsoleBase::SetCLocale(); - if (*m_wxAppConsoleBaseExtSetCLocale != NULL){ - return m_wxAppConsoleBaseExtSetCLocale(this); - } - } - wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP = NULL; - virtual void SetNextHandler(wxEvtHandler* handler) override - { - wxAppConsoleBase::SetNextHandler(handler); - if (*m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP != NULL){ - return m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP(this, handler); - } - } - wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP = NULL; - virtual void SetPreviousHandler(wxEvtHandler* handler) override - { - wxAppConsoleBase::SetPreviousHandler(handler); - if (*m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP != NULL){ - return m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP(this, handler); - } - } - wxAppConsoleBaseExtStoreCurrentExceptionFunc m_wxAppConsoleBaseExtStoreCurrentException = NULL; - virtual bool StoreCurrentException() override - { - bool res = wxAppConsoleBase::StoreCurrentException(); - if (*m_wxAppConsoleBaseExtStoreCurrentException != NULL){ - return m_wxAppConsoleBaseExtStoreCurrentException(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtTryAfterwxEventRFunc m_wxAppConsoleBaseExtTryAfterwxEventR = NULL; - virtual bool TryAfter(wxEvent& event) override - { - bool res = wxAppConsoleBase::TryAfter(event); - if (*m_wxAppConsoleBaseExtTryAfterwxEventR != NULL){ - return m_wxAppConsoleBaseExtTryAfterwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleBaseExtTryBeforewxEventRFunc m_wxAppConsoleBaseExtTryBeforewxEventR = NULL; - virtual bool TryBefore(wxEvent& event) override - { - bool res = wxAppConsoleBase::TryBefore(event); - if (*m_wxAppConsoleBaseExtTryBeforewxEventR != NULL){ - return m_wxAppConsoleBaseExtTryBeforewxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleBaseExtUsesEventLoopFunc m_wxAppConsoleBaseExtUsesEventLoop = NULL; - virtual bool UsesEventLoop() const override - { - bool res = wxAppConsoleBase::UsesEventLoop(); - if (*m_wxAppConsoleBaseExtUsesEventLoop != NULL){ - return m_wxAppConsoleBaseExtUsesEventLoop(this); - } - else { - return res; - } - } - wxAppConsoleBaseExtWXReservedApp1voidPFunc m_wxAppConsoleBaseExtWXReservedApp1voidP = NULL; - virtual void* WXReservedApp1(void* param0) override - { - void* res = wxAppConsoleBase::WXReservedApp1(param0); - if (*m_wxAppConsoleBaseExtWXReservedApp1voidP != NULL){ - return m_wxAppConsoleBaseExtWXReservedApp1voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleBaseExtWXReservedApp2voidPFunc m_wxAppConsoleBaseExtWXReservedApp2voidP = NULL; - virtual void* WXReservedApp2(void* param0) override - { - void* res = wxAppConsoleBase::WXReservedApp2(param0); - if (*m_wxAppConsoleBaseExtWXReservedApp2voidP != NULL){ - return m_wxAppConsoleBaseExtWXReservedApp2voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP = NULL; - virtual void* WXReservedEvtHandler1(void* param0) override - { - void* res = wxAppConsoleBase::WXReservedEvtHandler1(param0); - if (*m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP != NULL){ - return m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP = NULL; - virtual void* WXReservedEvtHandler2(void* param0) override - { - void* res = wxAppConsoleBase::WXReservedEvtHandler2(param0); - if (*m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP != NULL){ - return m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleBaseExtWakeUpIdleFunc m_wxAppConsoleBaseExtWakeUpIdle = NULL; - virtual void WakeUpIdle() override - { - wxAppConsoleBase::WakeUpIdle(); - if (*m_wxAppConsoleBaseExtWakeUpIdle != NULL){ - return m_wxAppConsoleBaseExtWakeUpIdle(this); - } - } - wxAppConsoleBaseExt(wxAppConsoleBaseExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppConsoleBaseExtCallOnInitFunc a_CallOnInit, wxAppConsoleBaseExtCleanUpFunc a_CleanUp, wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppConsoleBaseExtCreateRefDataFunc a_CreateRefData, wxAppConsoleBaseExtCreateTraitsFunc a_CreateTraits, wxAppConsoleBaseExtDispatchFunc a_Dispatch, wxAppConsoleBaseExtDoGetClientDataFunc a_DoGetClientData, wxAppConsoleBaseExtDoGetClientObjectFunc a_DoGetClientObject, wxAppConsoleBaseExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppConsoleBaseExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppConsoleBaseExtExitFunc a_Exit, wxAppConsoleBaseExtExitMainLoopFunc a_ExitMainLoop, wxAppConsoleBaseExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppConsoleBaseExtGetClassInfoFunc a_GetClassInfo, wxAppConsoleBaseExtGetEventHashTableFunc a_GetEventHashTable, wxAppConsoleBaseExtGetEventTableFunc a_GetEventTable, wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppConsoleBaseExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppConsoleBaseExtIsGUIFunc a_IsGUI, wxAppConsoleBaseExtMainLoopFunc a_MainLoop, wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppConsoleBaseExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppConsoleBaseExtOnExitFunc a_OnExit, wxAppConsoleBaseExtOnFatalExceptionFunc a_OnFatalException, wxAppConsoleBaseExtOnInitFunc a_OnInit, wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppConsoleBaseExtOnLaunchedFunc a_OnLaunched, wxAppConsoleBaseExtOnRunFunc a_OnRun, wxAppConsoleBaseExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppConsoleBaseExtPendingFunc a_Pending, wxAppConsoleBaseExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppConsoleBaseExtProcessIdleFunc a_ProcessIdle, wxAppConsoleBaseExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppConsoleBaseExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppConsoleBaseExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppConsoleBaseExtSetCLocaleFunc a_SetCLocale, wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppConsoleBaseExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppConsoleBaseExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppConsoleBaseExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppConsoleBaseExtUsesEventLoopFunc a_UsesEventLoop, wxAppConsoleBaseExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppConsoleBaseExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppConsoleBaseExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppConsoleBaseExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppConsoleBaseExtWakeUpIdleFunc a_WakeUpIdle): wxAppConsoleBase() { - m_wxAppConsoleBaseExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; - m_wxAppConsoleBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; - m_wxAppConsoleBaseExtCallOnInit = a_CallOnInit; - m_wxAppConsoleBaseExtCleanUp = a_CleanUp; - m_wxAppConsoleBaseExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; - m_wxAppConsoleBaseExtCreateRefData = a_CreateRefData; - m_wxAppConsoleBaseExtCreateTraits = a_CreateTraits; - m_wxAppConsoleBaseExtDispatch = a_Dispatch; - m_wxAppConsoleBaseExtDoGetClientData = a_DoGetClientData; - m_wxAppConsoleBaseExtDoGetClientObject = a_DoGetClientObject; - m_wxAppConsoleBaseExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; - m_wxAppConsoleBaseExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; - m_wxAppConsoleBaseExtExit = a_Exit; - m_wxAppConsoleBaseExtExitMainLoop = a_ExitMainLoop; - m_wxAppConsoleBaseExtFilterEventwxEventR = a_FilterEventwxEventR; - m_wxAppConsoleBaseExtGetClassInfo = a_GetClassInfo; - m_wxAppConsoleBaseExtGetEventHashTable = a_GetEventHashTable; - m_wxAppConsoleBaseExtGetEventTable = a_GetEventTable; - m_wxAppConsoleBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; - m_wxAppConsoleBaseExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; - m_wxAppConsoleBaseExtIsGUI = a_IsGUI; - m_wxAppConsoleBaseExtMainLoop = a_MainLoop; - m_wxAppConsoleBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; - m_wxAppConsoleBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; - m_wxAppConsoleBaseExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; - m_wxAppConsoleBaseExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; - m_wxAppConsoleBaseExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; - m_wxAppConsoleBaseExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; - m_wxAppConsoleBaseExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; - m_wxAppConsoleBaseExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; - m_wxAppConsoleBaseExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; - m_wxAppConsoleBaseExtOnExit = a_OnExit; - m_wxAppConsoleBaseExtOnFatalException = a_OnFatalException; - m_wxAppConsoleBaseExtOnInit = a_OnInit; - m_wxAppConsoleBaseExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; - m_wxAppConsoleBaseExtOnLaunched = a_OnLaunched; - m_wxAppConsoleBaseExtOnRun = a_OnRun; - m_wxAppConsoleBaseExtOnUnhandledException = a_OnUnhandledException; - m_wxAppConsoleBaseExtPending = a_Pending; - m_wxAppConsoleBaseExtProcessEventwxEventR = a_ProcessEventwxEventR; - m_wxAppConsoleBaseExtProcessIdle = a_ProcessIdle; - m_wxAppConsoleBaseExtProcessPendingEvents = a_ProcessPendingEvents; - m_wxAppConsoleBaseExtQueueEventwxEventP = a_QueueEventwxEventP; - m_wxAppConsoleBaseExtRethrowStoredException = a_RethrowStoredException; - m_wxAppConsoleBaseExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; - m_wxAppConsoleBaseExtSetCLocale = a_SetCLocale; - m_wxAppConsoleBaseExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; - m_wxAppConsoleBaseExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; - m_wxAppConsoleBaseExtStoreCurrentException = a_StoreCurrentException; - m_wxAppConsoleBaseExtTryAfterwxEventR = a_TryAfterwxEventR; - m_wxAppConsoleBaseExtTryBeforewxEventR = a_TryBeforewxEventR; - m_wxAppConsoleBaseExtUsesEventLoop = a_UsesEventLoop; - m_wxAppConsoleBaseExtWXReservedApp1voidP = a_WXReservedApp1voidP; - m_wxAppConsoleBaseExtWXReservedApp2voidP = a_WXReservedApp2voidP; - m_wxAppConsoleBaseExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; - m_wxAppConsoleBaseExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; - m_wxAppConsoleBaseExtWakeUpIdle = a_WakeUpIdle; - } -}; - -class wxAppConsoleExt: public wxAppConsole -{ -public: - wxAppConsoleExt(): wxAppConsole() { } - virtual ~wxAppConsoleExt() override { } - wxAppConsoleExtAddPendingEventwxEventCRFunc m_wxAppConsoleExtAddPendingEventwxEventCR = NULL; - virtual void AddPendingEvent(wxEvent const& event) override - { - wxAppConsole::AddPendingEvent(event); - if (*m_wxAppConsoleExtAddPendingEventwxEventCR != NULL){ - return m_wxAppConsoleExtAddPendingEventwxEventCR(this, event); - } - } - wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; - virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override - { - wxAppConsole::CallEventHandler(handler, functor, event); - if (*m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ - return m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); - } - } - wxAppConsoleExtCallOnInitFunc m_wxAppConsoleExtCallOnInit = NULL; - virtual bool CallOnInit() override - { - bool res = wxAppConsole::CallOnInit(); - if (*m_wxAppConsoleExtCallOnInit != NULL){ - return m_wxAppConsoleExtCallOnInit(this); - } - else { - return res; - } - } - wxAppConsoleExtCleanUpFunc m_wxAppConsoleExtCleanUp = NULL; - virtual void CleanUp() override - { - wxAppConsole::CleanUp(); - if (*m_wxAppConsoleExtCleanUp != NULL){ - return m_wxAppConsoleExtCleanUp(this); - } - } - wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP = NULL; - virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override - { - wxObjectRefData* res = wxAppConsole::CloneRefData(data); - if (*m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP != NULL){ - return m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP(this, data); - } - else { - return res; - } - } - wxAppConsoleExtCreateRefDataFunc m_wxAppConsoleExtCreateRefData = NULL; - virtual wxObjectRefData* CreateRefData() const override - { - wxObjectRefData* res = wxAppConsole::CreateRefData(); - if (*m_wxAppConsoleExtCreateRefData != NULL){ - return m_wxAppConsoleExtCreateRefData(this); - } - else { - return res; - } - } - wxAppConsoleExtCreateTraitsFunc m_wxAppConsoleExtCreateTraits = NULL; - virtual wxAppTraits* CreateTraits() override - { - wxAppTraits* res = wxAppConsole::CreateTraits(); - if (*m_wxAppConsoleExtCreateTraits != NULL){ - return m_wxAppConsoleExtCreateTraits(this); - } - else { - return res; - } - } - wxAppConsoleExtDispatchFunc m_wxAppConsoleExtDispatch = NULL; - virtual bool Dispatch() override - { - bool res = wxAppConsole::Dispatch(); - if (*m_wxAppConsoleExtDispatch != NULL){ - return m_wxAppConsoleExtDispatch(this); - } - else { - return res; - } - } - wxAppConsoleExtDoGetClientDataFunc m_wxAppConsoleExtDoGetClientData = NULL; - virtual void* DoGetClientData() const override - { - void* res = wxAppConsole::DoGetClientData(); - if (*m_wxAppConsoleExtDoGetClientData != NULL){ - return m_wxAppConsoleExtDoGetClientData(this); - } - else { - return res; - } - } - wxAppConsoleExtDoGetClientObjectFunc m_wxAppConsoleExtDoGetClientObject = NULL; - virtual wxClientData* DoGetClientObject() const override - { - wxClientData* res = wxAppConsole::DoGetClientObject(); - if (*m_wxAppConsoleExtDoGetClientObject != NULL){ - return m_wxAppConsoleExtDoGetClientObject(this); - } - else { - return res; - } - } - wxAppConsoleExtDoSetClientDatavoidPFunc m_wxAppConsoleExtDoSetClientDatavoidP = NULL; - virtual void DoSetClientData(void* data) override - { - wxAppConsole::DoSetClientData(data); - if (*m_wxAppConsoleExtDoSetClientDatavoidP != NULL){ - return m_wxAppConsoleExtDoSetClientDatavoidP(this, data); - } - } - wxAppConsoleExtDoSetClientObjectwxClientDataPFunc m_wxAppConsoleExtDoSetClientObjectwxClientDataP = NULL; - virtual void DoSetClientObject(wxClientData* data) override - { - wxAppConsole::DoSetClientObject(data); - if (*m_wxAppConsoleExtDoSetClientObjectwxClientDataP != NULL){ - return m_wxAppConsoleExtDoSetClientObjectwxClientDataP(this, data); - } - } - wxAppConsoleExtExitFunc m_wxAppConsoleExtExit = NULL; - virtual void Exit() override - { - wxAppConsole::Exit(); - if (*m_wxAppConsoleExtExit != NULL){ - return m_wxAppConsoleExtExit(this); - } - } - wxAppConsoleExtExitMainLoopFunc m_wxAppConsoleExtExitMainLoop = NULL; - virtual void ExitMainLoop() override - { - wxAppConsole::ExitMainLoop(); - if (*m_wxAppConsoleExtExitMainLoop != NULL){ - return m_wxAppConsoleExtExitMainLoop(this); - } - } - wxAppConsoleExtFilterEventwxEventRFunc m_wxAppConsoleExtFilterEventwxEventR = NULL; - virtual int FilterEvent(wxEvent& event) override - { - int res = wxAppConsole::FilterEvent(event); - if (*m_wxAppConsoleExtFilterEventwxEventR != NULL){ - return m_wxAppConsoleExtFilterEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleExtGetClassInfoFunc m_wxAppConsoleExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxAppConsole::GetClassInfo(); - if (*m_wxAppConsoleExtGetClassInfo != NULL){ - return m_wxAppConsoleExtGetClassInfo(this); - } - else { - return res; - } - } - wxAppConsoleExtGetEventHashTableFunc m_wxAppConsoleExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxAppConsole::GetEventHashTable(); - if (*m_wxAppConsoleExtGetEventHashTable != NULL){ - return m_wxAppConsoleExtGetEventHashTable(this); - } - else { - return res; - } - } - wxAppConsoleExtGetEventTableFunc m_wxAppConsoleExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxAppConsole::GetEventTable(); - if (*m_wxAppConsoleExtGetEventTable != NULL){ - return m_wxAppConsoleExtGetEventTable(this); - } - else { - return res; - } - } - wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; - virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override - { - wxAppConsole::HandleEvent(handler, func, event); - if (*m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ - return m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); - } - } - wxAppConsoleExtInitializeintRwxCharPPFunc m_wxAppConsoleExtInitializeintRwxCharPP = NULL; - virtual bool Initialize(int& argc, wxChar** argv) override - { - bool res = wxAppConsole::Initialize(argc, argv); - if (*m_wxAppConsoleExtInitializeintRwxCharPP != NULL){ - return m_wxAppConsoleExtInitializeintRwxCharPP(this, argc, argv); - } - else { - return res; - } - } - wxAppConsoleExtIsGUIFunc m_wxAppConsoleExtIsGUI = NULL; - virtual bool IsGUI() const override - { - bool res = wxAppConsole::IsGUI(); - if (*m_wxAppConsoleExtIsGUI != NULL){ - return m_wxAppConsoleExtIsGUI(this); - } - else { - return res; - } - } - wxAppConsoleExtMainLoopFunc m_wxAppConsoleExtMainLoop = NULL; - virtual int MainLoop() override - { - int res = wxAppConsole::MainLoop(); - if (*m_wxAppConsoleExtMainLoop != NULL){ - return m_wxAppConsoleExtMainLoop(this); - } - else { - return res; - } - } - wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; - virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override - { - wxAppConsole::OnAssert(file, line, cond, msg); - if (*m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ - return m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); - } - } - wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; - virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override - { - wxAppConsole::OnAssertFailure(file, line, func, cond, msg); - if (*m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ - return m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); - } - } - wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR = NULL; - virtual bool OnCmdLineError(wxCmdLineParser& parser) override - { - bool res = wxAppConsole::OnCmdLineError(parser); - if (*m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR != NULL){ - return m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR = NULL; - virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override - { - bool res = wxAppConsole::OnCmdLineHelp(parser); - if (*m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR != NULL){ - return m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR = NULL; - virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override - { - bool res = wxAppConsole::OnCmdLineParsed(parser); - if (*m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR != NULL){ - return m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR = NULL; - virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override - { - bool res = wxAppConsole::OnDynamicBind(param0); - if (*m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ - return m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); - } - else { - return res; - } - } - wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP = NULL; - virtual void OnEventLoopEnter(wxEventLoopBase* param0) override - { - wxAppConsole::OnEventLoopEnter(param0); - if (*m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP != NULL){ - return m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP(this, param0); - } - } - wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP = NULL; - virtual void OnEventLoopExit(wxEventLoopBase* param0) override - { - wxAppConsole::OnEventLoopExit(param0); - if (*m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP != NULL){ - return m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP(this, param0); - } - } - wxAppConsoleExtOnExceptionInMainLoopFunc m_wxAppConsoleExtOnExceptionInMainLoop = NULL; - virtual bool OnExceptionInMainLoop() override - { - bool res = wxAppConsole::OnExceptionInMainLoop(); - if (*m_wxAppConsoleExtOnExceptionInMainLoop != NULL){ - return m_wxAppConsoleExtOnExceptionInMainLoop(this); - } - else { - return res; - } - } - wxAppConsoleExtOnExitFunc m_wxAppConsoleExtOnExit = NULL; - virtual int OnExit() override - { - int res = wxAppConsole::OnExit(); - if (*m_wxAppConsoleExtOnExit != NULL){ - return m_wxAppConsoleExtOnExit(this); - } - else { - return res; - } - } - wxAppConsoleExtOnFatalExceptionFunc m_wxAppConsoleExtOnFatalException = NULL; - virtual void OnFatalException() override - { - wxAppConsole::OnFatalException(); - if (*m_wxAppConsoleExtOnFatalException != NULL){ - return m_wxAppConsoleExtOnFatalException(this); - } - } - wxAppConsoleExtOnInitFunc m_wxAppConsoleExtOnInit = NULL; - virtual bool OnInit() override - { - bool res = wxAppConsole::OnInit(); - if (*m_wxAppConsoleExtOnInit != NULL){ - return m_wxAppConsoleExtOnInit(this); - } - else { - return res; - } - } - wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR = NULL; - virtual void OnInitCmdLine(wxCmdLineParser& parser) override - { - wxAppConsole::OnInitCmdLine(parser); - if (*m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR != NULL){ - return m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR(this, parser); - } - } - wxAppConsoleExtOnLaunchedFunc m_wxAppConsoleExtOnLaunched = NULL; - virtual void OnLaunched() override - { - wxAppConsole::OnLaunched(); - if (*m_wxAppConsoleExtOnLaunched != NULL){ - return m_wxAppConsoleExtOnLaunched(this); - } - } - wxAppConsoleExtOnRunFunc m_wxAppConsoleExtOnRun = NULL; - virtual int OnRun() override - { - int res = wxAppConsole::OnRun(); - if (*m_wxAppConsoleExtOnRun != NULL){ - return m_wxAppConsoleExtOnRun(this); - } - else { - return res; - } - } - wxAppConsoleExtOnUnhandledExceptionFunc m_wxAppConsoleExtOnUnhandledException = NULL; - virtual void OnUnhandledException() override - { - wxAppConsole::OnUnhandledException(); - if (*m_wxAppConsoleExtOnUnhandledException != NULL){ - return m_wxAppConsoleExtOnUnhandledException(this); - } - } - wxAppConsoleExtPendingFunc m_wxAppConsoleExtPending = NULL; - virtual bool Pending() override - { - bool res = wxAppConsole::Pending(); - if (*m_wxAppConsoleExtPending != NULL){ - return m_wxAppConsoleExtPending(this); - } - else { - return res; - } - } - wxAppConsoleExtProcessEventwxEventRFunc m_wxAppConsoleExtProcessEventwxEventR = NULL; - virtual bool ProcessEvent(wxEvent& event) override - { - bool res = wxAppConsole::ProcessEvent(event); - if (*m_wxAppConsoleExtProcessEventwxEventR != NULL){ - return m_wxAppConsoleExtProcessEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleExtProcessIdleFunc m_wxAppConsoleExtProcessIdle = NULL; - virtual bool ProcessIdle() override - { - bool res = wxAppConsole::ProcessIdle(); - if (*m_wxAppConsoleExtProcessIdle != NULL){ - return m_wxAppConsoleExtProcessIdle(this); - } - else { - return res; - } - } - wxAppConsoleExtProcessPendingEventsFunc m_wxAppConsoleExtProcessPendingEvents = NULL; - virtual void ProcessPendingEvents() override - { - wxAppConsole::ProcessPendingEvents(); - if (*m_wxAppConsoleExtProcessPendingEvents != NULL){ - return m_wxAppConsoleExtProcessPendingEvents(this); - } - } - wxAppConsoleExtQueueEventwxEventPFunc m_wxAppConsoleExtQueueEventwxEventP = NULL; - virtual void QueueEvent(wxEvent* event) override - { - wxAppConsole::QueueEvent(event); - if (*m_wxAppConsoleExtQueueEventwxEventP != NULL){ - return m_wxAppConsoleExtQueueEventwxEventP(this, event); - } - } - wxAppConsoleExtRethrowStoredExceptionFunc m_wxAppConsoleExtRethrowStoredException = NULL; - virtual void RethrowStoredException() override - { - wxAppConsole::RethrowStoredException(); - if (*m_wxAppConsoleExtRethrowStoredException != NULL){ - return m_wxAppConsoleExtRethrowStoredException(this); - } - } - wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR = NULL; - virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override - { - bool res = wxAppConsole::SearchEventTable(table, event); - if (*m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR != NULL){ - return m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR(this, table, event); - } - else { - return res; - } - } - wxAppConsoleExtSetCLocaleFunc m_wxAppConsoleExtSetCLocale = NULL; - virtual void SetCLocale() override - { - wxAppConsole::SetCLocale(); - if (*m_wxAppConsoleExtSetCLocale != NULL){ - return m_wxAppConsoleExtSetCLocale(this); - } - } - wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP = NULL; - virtual void SetNextHandler(wxEvtHandler* handler) override - { - wxAppConsole::SetNextHandler(handler); - if (*m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP != NULL){ - return m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP(this, handler); - } - } - wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP = NULL; - virtual void SetPreviousHandler(wxEvtHandler* handler) override - { - wxAppConsole::SetPreviousHandler(handler); - if (*m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP != NULL){ - return m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP(this, handler); - } - } - wxAppConsoleExtStoreCurrentExceptionFunc m_wxAppConsoleExtStoreCurrentException = NULL; - virtual bool StoreCurrentException() override - { - bool res = wxAppConsole::StoreCurrentException(); - if (*m_wxAppConsoleExtStoreCurrentException != NULL){ - return m_wxAppConsoleExtStoreCurrentException(this); - } - else { - return res; - } - } - wxAppConsoleExtTryAfterwxEventRFunc m_wxAppConsoleExtTryAfterwxEventR = NULL; - virtual bool TryAfter(wxEvent& event) override - { - bool res = wxAppConsole::TryAfter(event); - if (*m_wxAppConsoleExtTryAfterwxEventR != NULL){ - return m_wxAppConsoleExtTryAfterwxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleExtTryBeforewxEventRFunc m_wxAppConsoleExtTryBeforewxEventR = NULL; - virtual bool TryBefore(wxEvent& event) override - { - bool res = wxAppConsole::TryBefore(event); - if (*m_wxAppConsoleExtTryBeforewxEventR != NULL){ - return m_wxAppConsoleExtTryBeforewxEventR(this, event); - } - else { - return res; - } - } - wxAppConsoleExtUsesEventLoopFunc m_wxAppConsoleExtUsesEventLoop = NULL; - virtual bool UsesEventLoop() const override - { - bool res = wxAppConsole::UsesEventLoop(); - if (*m_wxAppConsoleExtUsesEventLoop != NULL){ - return m_wxAppConsoleExtUsesEventLoop(this); - } - else { - return res; - } - } - wxAppConsoleExtWXReservedApp1voidPFunc m_wxAppConsoleExtWXReservedApp1voidP = NULL; - virtual void* WXReservedApp1(void* param0) override - { - void* res = wxAppConsole::WXReservedApp1(param0); - if (*m_wxAppConsoleExtWXReservedApp1voidP != NULL){ - return m_wxAppConsoleExtWXReservedApp1voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleExtWXReservedApp2voidPFunc m_wxAppConsoleExtWXReservedApp2voidP = NULL; - virtual void* WXReservedApp2(void* param0) override - { - void* res = wxAppConsole::WXReservedApp2(param0); - if (*m_wxAppConsoleExtWXReservedApp2voidP != NULL){ - return m_wxAppConsoleExtWXReservedApp2voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleExtWXReservedEvtHandler1voidPFunc m_wxAppConsoleExtWXReservedEvtHandler1voidP = NULL; - virtual void* WXReservedEvtHandler1(void* param0) override - { - void* res = wxAppConsole::WXReservedEvtHandler1(param0); - if (*m_wxAppConsoleExtWXReservedEvtHandler1voidP != NULL){ - return m_wxAppConsoleExtWXReservedEvtHandler1voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleExtWXReservedEvtHandler2voidPFunc m_wxAppConsoleExtWXReservedEvtHandler2voidP = NULL; - virtual void* WXReservedEvtHandler2(void* param0) override - { - void* res = wxAppConsole::WXReservedEvtHandler2(param0); - if (*m_wxAppConsoleExtWXReservedEvtHandler2voidP != NULL){ - return m_wxAppConsoleExtWXReservedEvtHandler2voidP(this, param0); - } - else { - return res; - } - } - wxAppConsoleExtWakeUpIdleFunc m_wxAppConsoleExtWakeUpIdle = NULL; - virtual void WakeUpIdle() override - { - wxAppConsole::WakeUpIdle(); - if (*m_wxAppConsoleExtWakeUpIdle != NULL){ - return m_wxAppConsoleExtWakeUpIdle(this); - } - } - wxAppConsoleExt(wxAppConsoleExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppConsoleExtCallOnInitFunc a_CallOnInit, wxAppConsoleExtCleanUpFunc a_CleanUp, wxAppConsoleExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppConsoleExtCreateRefDataFunc a_CreateRefData, wxAppConsoleExtCreateTraitsFunc a_CreateTraits, wxAppConsoleExtDispatchFunc a_Dispatch, wxAppConsoleExtDoGetClientDataFunc a_DoGetClientData, wxAppConsoleExtDoGetClientObjectFunc a_DoGetClientObject, wxAppConsoleExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppConsoleExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppConsoleExtExitFunc a_Exit, wxAppConsoleExtExitMainLoopFunc a_ExitMainLoop, wxAppConsoleExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppConsoleExtGetClassInfoFunc a_GetClassInfo, wxAppConsoleExtGetEventHashTableFunc a_GetEventHashTable, wxAppConsoleExtGetEventTableFunc a_GetEventTable, wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppConsoleExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppConsoleExtIsGUIFunc a_IsGUI, wxAppConsoleExtMainLoopFunc a_MainLoop, wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppConsoleExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppConsoleExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppConsoleExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppConsoleExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppConsoleExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppConsoleExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppConsoleExtOnExitFunc a_OnExit, wxAppConsoleExtOnFatalExceptionFunc a_OnFatalException, wxAppConsoleExtOnInitFunc a_OnInit, wxAppConsoleExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppConsoleExtOnLaunchedFunc a_OnLaunched, wxAppConsoleExtOnRunFunc a_OnRun, wxAppConsoleExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppConsoleExtPendingFunc a_Pending, wxAppConsoleExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppConsoleExtProcessIdleFunc a_ProcessIdle, wxAppConsoleExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppConsoleExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppConsoleExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppConsoleExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppConsoleExtSetCLocaleFunc a_SetCLocale, wxAppConsoleExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppConsoleExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppConsoleExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppConsoleExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppConsoleExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppConsoleExtUsesEventLoopFunc a_UsesEventLoop, wxAppConsoleExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppConsoleExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppConsoleExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppConsoleExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppConsoleExtWakeUpIdleFunc a_WakeUpIdle): wxAppConsole() { - m_wxAppConsoleExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; - m_wxAppConsoleExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; - m_wxAppConsoleExtCallOnInit = a_CallOnInit; - m_wxAppConsoleExtCleanUp = a_CleanUp; - m_wxAppConsoleExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; - m_wxAppConsoleExtCreateRefData = a_CreateRefData; - m_wxAppConsoleExtCreateTraits = a_CreateTraits; - m_wxAppConsoleExtDispatch = a_Dispatch; - m_wxAppConsoleExtDoGetClientData = a_DoGetClientData; - m_wxAppConsoleExtDoGetClientObject = a_DoGetClientObject; - m_wxAppConsoleExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; - m_wxAppConsoleExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; - m_wxAppConsoleExtExit = a_Exit; - m_wxAppConsoleExtExitMainLoop = a_ExitMainLoop; - m_wxAppConsoleExtFilterEventwxEventR = a_FilterEventwxEventR; - m_wxAppConsoleExtGetClassInfo = a_GetClassInfo; - m_wxAppConsoleExtGetEventHashTable = a_GetEventHashTable; - m_wxAppConsoleExtGetEventTable = a_GetEventTable; - m_wxAppConsoleExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; - m_wxAppConsoleExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; - m_wxAppConsoleExtIsGUI = a_IsGUI; - m_wxAppConsoleExtMainLoop = a_MainLoop; - m_wxAppConsoleExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; - m_wxAppConsoleExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; - m_wxAppConsoleExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; - m_wxAppConsoleExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; - m_wxAppConsoleExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; - m_wxAppConsoleExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; - m_wxAppConsoleExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; - m_wxAppConsoleExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; - m_wxAppConsoleExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; - m_wxAppConsoleExtOnExit = a_OnExit; - m_wxAppConsoleExtOnFatalException = a_OnFatalException; - m_wxAppConsoleExtOnInit = a_OnInit; - m_wxAppConsoleExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; - m_wxAppConsoleExtOnLaunched = a_OnLaunched; - m_wxAppConsoleExtOnRun = a_OnRun; - m_wxAppConsoleExtOnUnhandledException = a_OnUnhandledException; - m_wxAppConsoleExtPending = a_Pending; - m_wxAppConsoleExtProcessEventwxEventR = a_ProcessEventwxEventR; - m_wxAppConsoleExtProcessIdle = a_ProcessIdle; - m_wxAppConsoleExtProcessPendingEvents = a_ProcessPendingEvents; - m_wxAppConsoleExtQueueEventwxEventP = a_QueueEventwxEventP; - m_wxAppConsoleExtRethrowStoredException = a_RethrowStoredException; - m_wxAppConsoleExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; - m_wxAppConsoleExtSetCLocale = a_SetCLocale; - m_wxAppConsoleExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; - m_wxAppConsoleExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; - m_wxAppConsoleExtStoreCurrentException = a_StoreCurrentException; - m_wxAppConsoleExtTryAfterwxEventR = a_TryAfterwxEventR; - m_wxAppConsoleExtTryBeforewxEventR = a_TryBeforewxEventR; - m_wxAppConsoleExtUsesEventLoop = a_UsesEventLoop; - m_wxAppConsoleExtWXReservedApp1voidP = a_WXReservedApp1voidP; - m_wxAppConsoleExtWXReservedApp2voidP = a_WXReservedApp2voidP; - m_wxAppConsoleExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; - m_wxAppConsoleExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; - m_wxAppConsoleExtWakeUpIdle = a_WakeUpIdle; - } -}; - -class wxAppBaseExt: public wxAppBase -{ -public: - wxAppBaseExt(): wxAppBase() { } - virtual ~wxAppBaseExt() override { } - wxAppBaseExtAddPendingEventwxEventCRFunc m_wxAppBaseExtAddPendingEventwxEventCR = NULL; - virtual void AddPendingEvent(wxEvent const& event) override - { - wxAppBase::AddPendingEvent(event); - if (*m_wxAppBaseExtAddPendingEventwxEventCR != NULL){ - return m_wxAppBaseExtAddPendingEventwxEventCR(this, event); - } - } - wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; - virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override - { - wxAppBase::CallEventHandler(handler, functor, event); - if (*m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ - return m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); - } - } - wxAppBaseExtCallOnInitFunc m_wxAppBaseExtCallOnInit = NULL; - virtual bool CallOnInit() override - { - bool res = wxAppBase::CallOnInit(); - if (*m_wxAppBaseExtCallOnInit != NULL){ - return m_wxAppBaseExtCallOnInit(this); - } - else { - return res; - } - } - wxAppBaseExtCleanUpFunc m_wxAppBaseExtCleanUp = NULL; - virtual void CleanUp() override - { - wxAppBase::CleanUp(); - if (*m_wxAppBaseExtCleanUp != NULL){ - return m_wxAppBaseExtCleanUp(this); - } - } - wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc m_wxAppBaseExtCloneRefDatawxObjectRefDataCP = NULL; - virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override - { - wxObjectRefData* res = wxAppBase::CloneRefData(data); - if (*m_wxAppBaseExtCloneRefDatawxObjectRefDataCP != NULL){ - return m_wxAppBaseExtCloneRefDatawxObjectRefDataCP(this, data); - } - else { - return res; - } - } - wxAppBaseExtCreateRefDataFunc m_wxAppBaseExtCreateRefData = NULL; - virtual wxObjectRefData* CreateRefData() const override - { - wxObjectRefData* res = wxAppBase::CreateRefData(); - if (*m_wxAppBaseExtCreateRefData != NULL){ - return m_wxAppBaseExtCreateRefData(this); - } - else { - return res; - } - } - wxAppBaseExtCreateTraitsFunc m_wxAppBaseExtCreateTraits = NULL; - virtual wxAppTraits* CreateTraits() override - { - wxAppTraits* res = wxAppBase::CreateTraits(); - if (*m_wxAppBaseExtCreateTraits != NULL){ - return m_wxAppBaseExtCreateTraits(this); - } - else { - return res; - } - } - wxAppBaseExtDispatchFunc m_wxAppBaseExtDispatch = NULL; - virtual bool Dispatch() override - { - bool res = wxAppBase::Dispatch(); - if (*m_wxAppBaseExtDispatch != NULL){ - return m_wxAppBaseExtDispatch(this); - } - else { - return res; - } - } - wxAppBaseExtDoGetClientDataFunc m_wxAppBaseExtDoGetClientData = NULL; - virtual void* DoGetClientData() const override - { - void* res = wxAppBase::DoGetClientData(); - if (*m_wxAppBaseExtDoGetClientData != NULL){ - return m_wxAppBaseExtDoGetClientData(this); - } - else { - return res; - } - } - wxAppBaseExtDoGetClientObjectFunc m_wxAppBaseExtDoGetClientObject = NULL; - virtual wxClientData* DoGetClientObject() const override - { - wxClientData* res = wxAppBase::DoGetClientObject(); - if (*m_wxAppBaseExtDoGetClientObject != NULL){ - return m_wxAppBaseExtDoGetClientObject(this); - } - else { - return res; - } - } - wxAppBaseExtDoSetClientDatavoidPFunc m_wxAppBaseExtDoSetClientDatavoidP = NULL; - virtual void DoSetClientData(void* data) override - { - wxAppBase::DoSetClientData(data); - if (*m_wxAppBaseExtDoSetClientDatavoidP != NULL){ - return m_wxAppBaseExtDoSetClientDatavoidP(this, data); - } - } - wxAppBaseExtDoSetClientObjectwxClientDataPFunc m_wxAppBaseExtDoSetClientObjectwxClientDataP = NULL; - virtual void DoSetClientObject(wxClientData* data) override - { - wxAppBase::DoSetClientObject(data); - if (*m_wxAppBaseExtDoSetClientObjectwxClientDataP != NULL){ - return m_wxAppBaseExtDoSetClientObjectwxClientDataP(this, data); - } - } - wxAppBaseExtExitFunc m_wxAppBaseExtExit = NULL; - virtual void Exit() override - { - wxAppBase::Exit(); - if (*m_wxAppBaseExtExit != NULL){ - return m_wxAppBaseExtExit(this); - } - } - wxAppBaseExtExitMainLoopFunc m_wxAppBaseExtExitMainLoop = NULL; - virtual void ExitMainLoop() override - { - wxAppBase::ExitMainLoop(); - if (*m_wxAppBaseExtExitMainLoop != NULL){ - return m_wxAppBaseExtExitMainLoop(this); - } - } - wxAppBaseExtFilterEventwxEventRFunc m_wxAppBaseExtFilterEventwxEventR = NULL; - virtual int FilterEvent(wxEvent& event) override - { - int res = wxAppBase::FilterEvent(event); - if (*m_wxAppBaseExtFilterEventwxEventR != NULL){ - return m_wxAppBaseExtFilterEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppBaseExtGetClassInfoFunc m_wxAppBaseExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxAppBase::GetClassInfo(); - if (*m_wxAppBaseExtGetClassInfo != NULL){ - return m_wxAppBaseExtGetClassInfo(this); - } - else { - return res; - } - } - wxAppBaseExtGetDisplayModeFunc m_wxAppBaseExtGetDisplayMode = NULL; - virtual wxVideoMode GetDisplayMode() const override - { - wxVideoMode res = wxAppBase::GetDisplayMode(); - if (*m_wxAppBaseExtGetDisplayMode != NULL){ - return m_wxAppBaseExtGetDisplayMode(this); - } - else { - return res; - } - } - wxAppBaseExtGetEventHashTableFunc m_wxAppBaseExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxAppBase::GetEventHashTable(); - if (*m_wxAppBaseExtGetEventHashTable != NULL){ - return m_wxAppBaseExtGetEventHashTable(this); - } - else { - return res; - } - } - wxAppBaseExtGetEventTableFunc m_wxAppBaseExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxAppBase::GetEventTable(); - if (*m_wxAppBaseExtGetEventTable != NULL){ - return m_wxAppBaseExtGetEventTable(this); - } - else { - return res; - } - } - wxAppBaseExtGetLayoutDirectionFunc m_wxAppBaseExtGetLayoutDirection = NULL; - virtual wxLayoutDirection GetLayoutDirection() const override - { - wxLayoutDirection res = wxAppBase::GetLayoutDirection(); - if (*m_wxAppBaseExtGetLayoutDirection != NULL){ - return m_wxAppBaseExtGetLayoutDirection(this); - } - else { - return res; - } - } - wxAppBaseExtGetTopWindowFunc m_wxAppBaseExtGetTopWindow = NULL; - virtual wxWindow* GetTopWindow() const override - { - wxWindow* res = wxAppBase::GetTopWindow(); - if (*m_wxAppBaseExtGetTopWindow != NULL){ - return m_wxAppBaseExtGetTopWindow(this); - } - else { - return res; - } - } - wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; - virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override - { - wxAppBase::HandleEvent(handler, func, event); - if (*m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ - return m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); - } - } - wxAppBaseExtInitializeintRwxCharPPFunc m_wxAppBaseExtInitializeintRwxCharPP = NULL; - virtual bool Initialize(int& argc, wxChar** argv) override - { - bool res = wxAppBase::Initialize(argc, argv); - if (*m_wxAppBaseExtInitializeintRwxCharPP != NULL){ - return m_wxAppBaseExtInitializeintRwxCharPP(this, argc, argv); - } - else { - return res; - } - } - wxAppBaseExtIsActiveFunc m_wxAppBaseExtIsActive = NULL; - virtual bool IsActive() const override - { - bool res = wxAppBase::IsActive(); - if (*m_wxAppBaseExtIsActive != NULL){ - return m_wxAppBaseExtIsActive(this); - } - else { - return res; - } - } - wxAppBaseExtIsGUIFunc m_wxAppBaseExtIsGUI = NULL; - virtual bool IsGUI() const override - { - bool res = wxAppBase::IsGUI(); - if (*m_wxAppBaseExtIsGUI != NULL){ - return m_wxAppBaseExtIsGUI(this); - } - else { - return res; - } - } - wxAppBaseExtMainLoopFunc m_wxAppBaseExtMainLoop = NULL; - virtual int MainLoop() override - { - int res = wxAppBase::MainLoop(); - if (*m_wxAppBaseExtMainLoop != NULL){ - return m_wxAppBaseExtMainLoop(this); - } - else { - return res; - } - } - wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; - virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override - { - wxAppBase::OnAssert(file, line, cond, msg); - if (*m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ - return m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); - } - } - wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; - virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override - { - wxAppBase::OnAssertFailure(file, line, func, cond, msg); - if (*m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ - return m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); - } - } - wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR = NULL; - virtual bool OnCmdLineError(wxCmdLineParser& parser) override - { - bool res = wxAppBase::OnCmdLineError(parser); - if (*m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR != NULL){ - return m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR = NULL; - virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override - { - bool res = wxAppBase::OnCmdLineHelp(parser); - if (*m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR != NULL){ - return m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR = NULL; - virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override - { - bool res = wxAppBase::OnCmdLineParsed(parser); - if (*m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR != NULL){ - return m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR = NULL; - virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override - { - bool res = wxAppBase::OnDynamicBind(param0); - if (*m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ - return m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); - } - else { - return res; - } - } - wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP = NULL; - virtual void OnEventLoopEnter(wxEventLoopBase* param0) override - { - wxAppBase::OnEventLoopEnter(param0); - if (*m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP != NULL){ - return m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP(this, param0); - } - } - wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP = NULL; - virtual void OnEventLoopExit(wxEventLoopBase* param0) override - { - wxAppBase::OnEventLoopExit(param0); - if (*m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP != NULL){ - return m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP(this, param0); - } - } - wxAppBaseExtOnExceptionInMainLoopFunc m_wxAppBaseExtOnExceptionInMainLoop = NULL; - virtual bool OnExceptionInMainLoop() override - { - bool res = wxAppBase::OnExceptionInMainLoop(); - if (*m_wxAppBaseExtOnExceptionInMainLoop != NULL){ - return m_wxAppBaseExtOnExceptionInMainLoop(this); - } - else { - return res; - } - } - wxAppBaseExtOnExitFunc m_wxAppBaseExtOnExit = NULL; - virtual int OnExit() override - { - int res = wxAppBase::OnExit(); - if (*m_wxAppBaseExtOnExit != NULL){ - return m_wxAppBaseExtOnExit(this); - } - else { - return res; - } - } - wxAppBaseExtOnFatalExceptionFunc m_wxAppBaseExtOnFatalException = NULL; - virtual void OnFatalException() override - { - wxAppBase::OnFatalException(); - if (*m_wxAppBaseExtOnFatalException != NULL){ - return m_wxAppBaseExtOnFatalException(this); - } - } - wxAppBaseExtOnInitFunc m_wxAppBaseExtOnInit = NULL; - virtual bool OnInit() override - { - bool res = wxAppBase::OnInit(); - if (*m_wxAppBaseExtOnInit != NULL){ - return m_wxAppBaseExtOnInit(this); - } - else { - return res; - } - } - wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR = NULL; - virtual void OnInitCmdLine(wxCmdLineParser& parser) override - { - wxAppBase::OnInitCmdLine(parser); - if (*m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR != NULL){ - return m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR(this, parser); - } - } - wxAppBaseExtOnInitGuiFunc m_wxAppBaseExtOnInitGui = NULL; - virtual bool OnInitGui() override - { - bool res = wxAppBase::OnInitGui(); - if (*m_wxAppBaseExtOnInitGui != NULL){ - return m_wxAppBaseExtOnInitGui(this); - } - else { - return res; - } - } - wxAppBaseExtOnLaunchedFunc m_wxAppBaseExtOnLaunched = NULL; - virtual void OnLaunched() override - { - wxAppBase::OnLaunched(); - if (*m_wxAppBaseExtOnLaunched != NULL){ - return m_wxAppBaseExtOnLaunched(this); - } - } - wxAppBaseExtOnRunFunc m_wxAppBaseExtOnRun = NULL; - virtual int OnRun() override - { - int res = wxAppBase::OnRun(); - if (*m_wxAppBaseExtOnRun != NULL){ - return m_wxAppBaseExtOnRun(this); - } - else { - return res; - } - } - wxAppBaseExtOnUnhandledExceptionFunc m_wxAppBaseExtOnUnhandledException = NULL; - virtual void OnUnhandledException() override - { - wxAppBase::OnUnhandledException(); - if (*m_wxAppBaseExtOnUnhandledException != NULL){ - return m_wxAppBaseExtOnUnhandledException(this); - } - } - wxAppBaseExtPendingFunc m_wxAppBaseExtPending = NULL; - virtual bool Pending() override - { - bool res = wxAppBase::Pending(); - if (*m_wxAppBaseExtPending != NULL){ - return m_wxAppBaseExtPending(this); - } - else { - return res; - } - } - wxAppBaseExtProcessEventwxEventRFunc m_wxAppBaseExtProcessEventwxEventR = NULL; - virtual bool ProcessEvent(wxEvent& event) override - { - bool res = wxAppBase::ProcessEvent(event); - if (*m_wxAppBaseExtProcessEventwxEventR != NULL){ - return m_wxAppBaseExtProcessEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppBaseExtProcessIdleFunc m_wxAppBaseExtProcessIdle = NULL; - virtual bool ProcessIdle() override - { - bool res = wxAppBase::ProcessIdle(); - if (*m_wxAppBaseExtProcessIdle != NULL){ - return m_wxAppBaseExtProcessIdle(this); - } - else { - return res; - } - } - wxAppBaseExtProcessPendingEventsFunc m_wxAppBaseExtProcessPendingEvents = NULL; - virtual void ProcessPendingEvents() override - { - wxAppBase::ProcessPendingEvents(); - if (*m_wxAppBaseExtProcessPendingEvents != NULL){ - return m_wxAppBaseExtProcessPendingEvents(this); - } - } - wxAppBaseExtQueueEventwxEventPFunc m_wxAppBaseExtQueueEventwxEventP = NULL; - virtual void QueueEvent(wxEvent* event) override - { - wxAppBase::QueueEvent(event); - if (*m_wxAppBaseExtQueueEventwxEventP != NULL){ - return m_wxAppBaseExtQueueEventwxEventP(this, event); - } - } - wxAppBaseExtRethrowStoredExceptionFunc m_wxAppBaseExtRethrowStoredException = NULL; - virtual void RethrowStoredException() override - { - wxAppBase::RethrowStoredException(); - if (*m_wxAppBaseExtRethrowStoredException != NULL){ - return m_wxAppBaseExtRethrowStoredException(this); - } - } - wxAppBaseExtSafeYieldwxWindowPboolFunc m_wxAppBaseExtSafeYieldwxWindowPbool = NULL; - virtual bool SafeYield(wxWindow* win, bool onlyIfNeeded) override - { - bool res = wxAppBase::SafeYield(win, onlyIfNeeded); - if (*m_wxAppBaseExtSafeYieldwxWindowPbool != NULL){ - return m_wxAppBaseExtSafeYieldwxWindowPbool(this, win, onlyIfNeeded); - } - else { - return res; - } - } - wxAppBaseExtSafeYieldForwxWindowPlongFunc m_wxAppBaseExtSafeYieldForwxWindowPlong = NULL; - virtual bool SafeYieldFor(wxWindow* win, long eventsToProcess) override - { - bool res = wxAppBase::SafeYieldFor(win, eventsToProcess); - if (*m_wxAppBaseExtSafeYieldForwxWindowPlong != NULL){ - return m_wxAppBaseExtSafeYieldForwxWindowPlong(this, win, eventsToProcess); - } - else { - return res; - } - } - wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR = NULL; - virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override - { - bool res = wxAppBase::SearchEventTable(table, event); - if (*m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR != NULL){ - return m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR(this, table, event); - } - else { - return res; - } - } - wxAppBaseExtSetActiveboolwxWindowPFunc m_wxAppBaseExtSetActiveboolwxWindowP = NULL; - virtual void SetActive(bool isActive, wxWindow* lastFocus) override - { - wxAppBase::SetActive(isActive, lastFocus); - if (*m_wxAppBaseExtSetActiveboolwxWindowP != NULL){ - return m_wxAppBaseExtSetActiveboolwxWindowP(this, isActive, lastFocus); - } - } - wxAppBaseExtSetCLocaleFunc m_wxAppBaseExtSetCLocale = NULL; - virtual void SetCLocale() override - { - wxAppBase::SetCLocale(); - if (*m_wxAppBaseExtSetCLocale != NULL){ - return m_wxAppBaseExtSetCLocale(this); - } - } - wxAppBaseExtSetDisplayModewxVideoModeCRFunc m_wxAppBaseExtSetDisplayModewxVideoModeCR = NULL; - virtual bool SetDisplayMode(wxVideoMode const& param0) override - { - bool res = wxAppBase::SetDisplayMode(param0); - if (*m_wxAppBaseExtSetDisplayModewxVideoModeCR != NULL){ - return m_wxAppBaseExtSetDisplayModewxVideoModeCR(this, param0); - } - else { - return res; - } - } - wxAppBaseExtSetNativeThemewxStringCRFunc m_wxAppBaseExtSetNativeThemewxStringCR = NULL; - virtual bool SetNativeTheme(wxString const& param0) override - { - bool res = wxAppBase::SetNativeTheme(param0); - if (*m_wxAppBaseExtSetNativeThemewxStringCR != NULL){ - return m_wxAppBaseExtSetNativeThemewxStringCR(this, param0); - } - else { - return res; - } - } - wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc m_wxAppBaseExtSetNextHandlerwxEvtHandlerP = NULL; - virtual void SetNextHandler(wxEvtHandler* handler) override - { - wxAppBase::SetNextHandler(handler); - if (*m_wxAppBaseExtSetNextHandlerwxEvtHandlerP != NULL){ - return m_wxAppBaseExtSetNextHandlerwxEvtHandlerP(this, handler); - } - } - wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP = NULL; - virtual void SetPreviousHandler(wxEvtHandler* handler) override - { - wxAppBase::SetPreviousHandler(handler); - if (*m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP != NULL){ - return m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP(this, handler); - } - } - wxAppBaseExtSetPrintModeintFunc m_wxAppBaseExtSetPrintModeint = NULL; - virtual void SetPrintMode(int param0) override - { - wxAppBase::SetPrintMode(param0); - if (*m_wxAppBaseExtSetPrintModeint != NULL){ - return m_wxAppBaseExtSetPrintModeint(this, param0); - } - } - wxAppBaseExtStoreCurrentExceptionFunc m_wxAppBaseExtStoreCurrentException = NULL; - virtual bool StoreCurrentException() override - { - bool res = wxAppBase::StoreCurrentException(); - if (*m_wxAppBaseExtStoreCurrentException != NULL){ - return m_wxAppBaseExtStoreCurrentException(this); - } - else { - return res; - } - } - wxAppBaseExtTryAfterwxEventRFunc m_wxAppBaseExtTryAfterwxEventR = NULL; - virtual bool TryAfter(wxEvent& event) override - { - bool res = wxAppBase::TryAfter(event); - if (*m_wxAppBaseExtTryAfterwxEventR != NULL){ - return m_wxAppBaseExtTryAfterwxEventR(this, event); - } - else { - return res; - } - } - wxAppBaseExtTryBeforewxEventRFunc m_wxAppBaseExtTryBeforewxEventR = NULL; - virtual bool TryBefore(wxEvent& event) override - { - bool res = wxAppBase::TryBefore(event); - if (*m_wxAppBaseExtTryBeforewxEventR != NULL){ - return m_wxAppBaseExtTryBeforewxEventR(this, event); - } - else { - return res; - } - } - wxAppBaseExtUsesEventLoopFunc m_wxAppBaseExtUsesEventLoop = NULL; - virtual bool UsesEventLoop() const override - { - bool res = wxAppBase::UsesEventLoop(); - if (*m_wxAppBaseExtUsesEventLoop != NULL){ - return m_wxAppBaseExtUsesEventLoop(this); - } - else { - return res; - } - } - wxAppBaseExtWXReservedApp1voidPFunc m_wxAppBaseExtWXReservedApp1voidP = NULL; - virtual void* WXReservedApp1(void* param0) override - { - void* res = wxAppBase::WXReservedApp1(param0); - if (*m_wxAppBaseExtWXReservedApp1voidP != NULL){ - return m_wxAppBaseExtWXReservedApp1voidP(this, param0); - } - else { - return res; - } - } - wxAppBaseExtWXReservedApp2voidPFunc m_wxAppBaseExtWXReservedApp2voidP = NULL; - virtual void* WXReservedApp2(void* param0) override - { - void* res = wxAppBase::WXReservedApp2(param0); - if (*m_wxAppBaseExtWXReservedApp2voidP != NULL){ - return m_wxAppBaseExtWXReservedApp2voidP(this, param0); - } - else { - return res; - } - } - wxAppBaseExtWXReservedEvtHandler1voidPFunc m_wxAppBaseExtWXReservedEvtHandler1voidP = NULL; - virtual void* WXReservedEvtHandler1(void* param0) override - { - void* res = wxAppBase::WXReservedEvtHandler1(param0); - if (*m_wxAppBaseExtWXReservedEvtHandler1voidP != NULL){ - return m_wxAppBaseExtWXReservedEvtHandler1voidP(this, param0); - } - else { - return res; - } - } - wxAppBaseExtWXReservedEvtHandler2voidPFunc m_wxAppBaseExtWXReservedEvtHandler2voidP = NULL; - virtual void* WXReservedEvtHandler2(void* param0) override - { - void* res = wxAppBase::WXReservedEvtHandler2(param0); - if (*m_wxAppBaseExtWXReservedEvtHandler2voidP != NULL){ - return m_wxAppBaseExtWXReservedEvtHandler2voidP(this, param0); - } - else { - return res; - } - } - wxAppBaseExtWakeUpIdleFunc m_wxAppBaseExtWakeUpIdle = NULL; - virtual void WakeUpIdle() override - { - wxAppBase::WakeUpIdle(); - if (*m_wxAppBaseExtWakeUpIdle != NULL){ - return m_wxAppBaseExtWakeUpIdle(this); - } - } - wxAppBaseExt(wxAppBaseExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppBaseExtCallOnInitFunc a_CallOnInit, wxAppBaseExtCleanUpFunc a_CleanUp, wxAppBaseExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppBaseExtCreateRefDataFunc a_CreateRefData, wxAppBaseExtCreateTraitsFunc a_CreateTraits, wxAppBaseExtDispatchFunc a_Dispatch, wxAppBaseExtDoGetClientDataFunc a_DoGetClientData, wxAppBaseExtDoGetClientObjectFunc a_DoGetClientObject, wxAppBaseExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppBaseExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppBaseExtExitFunc a_Exit, wxAppBaseExtExitMainLoopFunc a_ExitMainLoop, wxAppBaseExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppBaseExtGetClassInfoFunc a_GetClassInfo, wxAppBaseExtGetDisplayModeFunc a_GetDisplayMode, wxAppBaseExtGetEventHashTableFunc a_GetEventHashTable, wxAppBaseExtGetEventTableFunc a_GetEventTable, wxAppBaseExtGetLayoutDirectionFunc a_GetLayoutDirection, wxAppBaseExtGetTopWindowFunc a_GetTopWindow, wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppBaseExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppBaseExtIsActiveFunc a_IsActive, wxAppBaseExtIsGUIFunc a_IsGUI, wxAppBaseExtMainLoopFunc a_MainLoop, wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppBaseExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppBaseExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppBaseExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppBaseExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppBaseExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppBaseExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppBaseExtOnExitFunc a_OnExit, wxAppBaseExtOnFatalExceptionFunc a_OnFatalException, wxAppBaseExtOnInitFunc a_OnInit, wxAppBaseExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppBaseExtOnInitGuiFunc a_OnInitGui, wxAppBaseExtOnLaunchedFunc a_OnLaunched, wxAppBaseExtOnRunFunc a_OnRun, wxAppBaseExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppBaseExtPendingFunc a_Pending, wxAppBaseExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppBaseExtProcessIdleFunc a_ProcessIdle, wxAppBaseExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppBaseExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppBaseExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppBaseExtSafeYieldwxWindowPboolFunc a_SafeYieldwxWindowPbool, wxAppBaseExtSafeYieldForwxWindowPlongFunc a_SafeYieldForwxWindowPlong, wxAppBaseExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppBaseExtSetActiveboolwxWindowPFunc a_SetActiveboolwxWindowP, wxAppBaseExtSetCLocaleFunc a_SetCLocale, wxAppBaseExtSetDisplayModewxVideoModeCRFunc a_SetDisplayModewxVideoModeCR, wxAppBaseExtSetNativeThemewxStringCRFunc a_SetNativeThemewxStringCR, wxAppBaseExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppBaseExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppBaseExtSetPrintModeintFunc a_SetPrintModeint, wxAppBaseExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppBaseExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppBaseExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppBaseExtUsesEventLoopFunc a_UsesEventLoop, wxAppBaseExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppBaseExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppBaseExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppBaseExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppBaseExtWakeUpIdleFunc a_WakeUpIdle): wxAppBase() { - m_wxAppBaseExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; - m_wxAppBaseExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; - m_wxAppBaseExtCallOnInit = a_CallOnInit; - m_wxAppBaseExtCleanUp = a_CleanUp; - m_wxAppBaseExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; - m_wxAppBaseExtCreateRefData = a_CreateRefData; - m_wxAppBaseExtCreateTraits = a_CreateTraits; - m_wxAppBaseExtDispatch = a_Dispatch; - m_wxAppBaseExtDoGetClientData = a_DoGetClientData; - m_wxAppBaseExtDoGetClientObject = a_DoGetClientObject; - m_wxAppBaseExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; - m_wxAppBaseExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; - m_wxAppBaseExtExit = a_Exit; - m_wxAppBaseExtExitMainLoop = a_ExitMainLoop; - m_wxAppBaseExtFilterEventwxEventR = a_FilterEventwxEventR; - m_wxAppBaseExtGetClassInfo = a_GetClassInfo; - m_wxAppBaseExtGetDisplayMode = a_GetDisplayMode; - m_wxAppBaseExtGetEventHashTable = a_GetEventHashTable; - m_wxAppBaseExtGetEventTable = a_GetEventTable; - m_wxAppBaseExtGetLayoutDirection = a_GetLayoutDirection; - m_wxAppBaseExtGetTopWindow = a_GetTopWindow; - m_wxAppBaseExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; - m_wxAppBaseExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; - m_wxAppBaseExtIsActive = a_IsActive; - m_wxAppBaseExtIsGUI = a_IsGUI; - m_wxAppBaseExtMainLoop = a_MainLoop; - m_wxAppBaseExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; - m_wxAppBaseExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; - m_wxAppBaseExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; - m_wxAppBaseExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; - m_wxAppBaseExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; - m_wxAppBaseExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; - m_wxAppBaseExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; - m_wxAppBaseExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; - m_wxAppBaseExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; - m_wxAppBaseExtOnExit = a_OnExit; - m_wxAppBaseExtOnFatalException = a_OnFatalException; - m_wxAppBaseExtOnInit = a_OnInit; - m_wxAppBaseExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; - m_wxAppBaseExtOnInitGui = a_OnInitGui; - m_wxAppBaseExtOnLaunched = a_OnLaunched; - m_wxAppBaseExtOnRun = a_OnRun; - m_wxAppBaseExtOnUnhandledException = a_OnUnhandledException; - m_wxAppBaseExtPending = a_Pending; - m_wxAppBaseExtProcessEventwxEventR = a_ProcessEventwxEventR; - m_wxAppBaseExtProcessIdle = a_ProcessIdle; - m_wxAppBaseExtProcessPendingEvents = a_ProcessPendingEvents; - m_wxAppBaseExtQueueEventwxEventP = a_QueueEventwxEventP; - m_wxAppBaseExtRethrowStoredException = a_RethrowStoredException; - m_wxAppBaseExtSafeYieldwxWindowPbool = a_SafeYieldwxWindowPbool; - m_wxAppBaseExtSafeYieldForwxWindowPlong = a_SafeYieldForwxWindowPlong; - m_wxAppBaseExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; - m_wxAppBaseExtSetActiveboolwxWindowP = a_SetActiveboolwxWindowP; - m_wxAppBaseExtSetCLocale = a_SetCLocale; - m_wxAppBaseExtSetDisplayModewxVideoModeCR = a_SetDisplayModewxVideoModeCR; - m_wxAppBaseExtSetNativeThemewxStringCR = a_SetNativeThemewxStringCR; - m_wxAppBaseExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; - m_wxAppBaseExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; - m_wxAppBaseExtSetPrintModeint = a_SetPrintModeint; - m_wxAppBaseExtStoreCurrentException = a_StoreCurrentException; - m_wxAppBaseExtTryAfterwxEventR = a_TryAfterwxEventR; - m_wxAppBaseExtTryBeforewxEventR = a_TryBeforewxEventR; - m_wxAppBaseExtUsesEventLoop = a_UsesEventLoop; - m_wxAppBaseExtWXReservedApp1voidP = a_WXReservedApp1voidP; - m_wxAppBaseExtWXReservedApp2voidP = a_WXReservedApp2voidP; - m_wxAppBaseExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; - m_wxAppBaseExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; - m_wxAppBaseExtWakeUpIdle = a_WakeUpIdle; - } -}; - -class wxAppExt: public wxApp -{ -public: - wxAppExt(): wxApp() { } - virtual ~wxAppExt() override { } - wxAppExtAddPendingEventwxEventCRFunc m_wxAppExtAddPendingEventwxEventCR = NULL; - virtual void AddPendingEvent(wxEvent const& event) override - { - wxApp::AddPendingEvent(event); - if (*m_wxAppExtAddPendingEventwxEventCR != NULL){ - return m_wxAppExtAddPendingEventwxEventCR(this, event); - } - } - wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc m_wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = NULL; - virtual void CallEventHandler(wxEvtHandler* handler, wxEventFunctor& functor, wxEvent& event) const override - { - wxApp::CallEventHandler(handler, functor, event); - if (*m_wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR != NULL){ - return m_wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR(this, handler, functor, event); - } - } - wxAppExtCallOnInitFunc m_wxAppExtCallOnInit = NULL; - virtual bool CallOnInit() override - { - bool res = wxApp::CallOnInit(); - if (*m_wxAppExtCallOnInit != NULL){ - return m_wxAppExtCallOnInit(this); - } - else { - return res; - } - } - wxAppExtCleanUpFunc m_wxAppExtCleanUp = NULL; - virtual void CleanUp() override - { - wxApp::CleanUp(); - if (*m_wxAppExtCleanUp != NULL){ - return m_wxAppExtCleanUp(this); - } - } - wxAppExtCloneRefDatawxObjectRefDataCPFunc m_wxAppExtCloneRefDatawxObjectRefDataCP = NULL; - virtual wxObjectRefData* CloneRefData(wxObjectRefData const* data) const override - { - wxObjectRefData* res = wxApp::CloneRefData(data); - if (*m_wxAppExtCloneRefDatawxObjectRefDataCP != NULL){ - return m_wxAppExtCloneRefDatawxObjectRefDataCP(this, data); - } - else { - return res; - } - } - wxAppExtCreateRefDataFunc m_wxAppExtCreateRefData = NULL; - virtual wxObjectRefData* CreateRefData() const override - { - wxObjectRefData* res = wxApp::CreateRefData(); - if (*m_wxAppExtCreateRefData != NULL){ - return m_wxAppExtCreateRefData(this); - } - else { - return res; - } - } - wxAppExtCreateTraitsFunc m_wxAppExtCreateTraits = NULL; - virtual wxAppTraits* CreateTraits() override - { - wxAppTraits* res = wxApp::CreateTraits(); - if (*m_wxAppExtCreateTraits != NULL){ - return m_wxAppExtCreateTraits(this); - } - else { - return res; - } - } - wxAppExtDispatchFunc m_wxAppExtDispatch = NULL; - virtual bool Dispatch() override - { - bool res = wxApp::Dispatch(); - if (*m_wxAppExtDispatch != NULL){ - return m_wxAppExtDispatch(this); - } - else { - return res; - } - } - wxAppExtDoGetClientDataFunc m_wxAppExtDoGetClientData = NULL; - virtual void* DoGetClientData() const override - { - void* res = wxApp::DoGetClientData(); - if (*m_wxAppExtDoGetClientData != NULL){ - return m_wxAppExtDoGetClientData(this); - } - else { - return res; - } - } - wxAppExtDoGetClientObjectFunc m_wxAppExtDoGetClientObject = NULL; - virtual wxClientData* DoGetClientObject() const override - { - wxClientData* res = wxApp::DoGetClientObject(); - if (*m_wxAppExtDoGetClientObject != NULL){ - return m_wxAppExtDoGetClientObject(this); - } - else { - return res; - } - } - wxAppExtDoSetClientDatavoidPFunc m_wxAppExtDoSetClientDatavoidP = NULL; - virtual void DoSetClientData(void* data) override - { - wxApp::DoSetClientData(data); - if (*m_wxAppExtDoSetClientDatavoidP != NULL){ - return m_wxAppExtDoSetClientDatavoidP(this, data); - } - } - wxAppExtDoSetClientObjectwxClientDataPFunc m_wxAppExtDoSetClientObjectwxClientDataP = NULL; - virtual void DoSetClientObject(wxClientData* data) override - { - wxApp::DoSetClientObject(data); - if (*m_wxAppExtDoSetClientObjectwxClientDataP != NULL){ - return m_wxAppExtDoSetClientObjectwxClientDataP(this, data); - } - } - wxAppExtExitFunc m_wxAppExtExit = NULL; - virtual void Exit() override - { - wxApp::Exit(); - if (*m_wxAppExtExit != NULL){ - return m_wxAppExtExit(this); - } - } - wxAppExtExitMainLoopFunc m_wxAppExtExitMainLoop = NULL; - virtual void ExitMainLoop() override - { - wxApp::ExitMainLoop(); - if (*m_wxAppExtExitMainLoop != NULL){ - return m_wxAppExtExitMainLoop(this); - } - } - wxAppExtFilterEventwxEventRFunc m_wxAppExtFilterEventwxEventR = NULL; - virtual int FilterEvent(wxEvent& event) override - { - int res = wxApp::FilterEvent(event); - if (*m_wxAppExtFilterEventwxEventR != NULL){ - return m_wxAppExtFilterEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppExtGetClassInfoFunc m_wxAppExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxApp::GetClassInfo(); - if (*m_wxAppExtGetClassInfo != NULL){ - return m_wxAppExtGetClassInfo(this); - } - else { - return res; - } - } - wxAppExtGetDisplayModeFunc m_wxAppExtGetDisplayMode = NULL; - virtual wxVideoMode GetDisplayMode() const override - { - wxVideoMode res = wxApp::GetDisplayMode(); - if (*m_wxAppExtGetDisplayMode != NULL){ - return m_wxAppExtGetDisplayMode(this); - } - else { - return res; - } - } - wxAppExtGetEventHashTableFunc m_wxAppExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxApp::GetEventHashTable(); - if (*m_wxAppExtGetEventHashTable != NULL){ - return m_wxAppExtGetEventHashTable(this); - } - else { - return res; - } - } - wxAppExtGetEventTableFunc m_wxAppExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxApp::GetEventTable(); - if (*m_wxAppExtGetEventTable != NULL){ - return m_wxAppExtGetEventTable(this); - } - else { - return res; - } - } - wxAppExtGetLayoutDirectionFunc m_wxAppExtGetLayoutDirection = NULL; - virtual wxLayoutDirection GetLayoutDirection() const override - { - wxLayoutDirection res = wxApp::GetLayoutDirection(); - if (*m_wxAppExtGetLayoutDirection != NULL){ - return m_wxAppExtGetLayoutDirection(this); - } - else { - return res; - } - } - wxAppExtGetPrintModeFunc m_wxAppExtGetPrintMode = NULL; - virtual int GetPrintMode() const override - { - int res = wxApp::GetPrintMode(); - if (*m_wxAppExtGetPrintMode != NULL){ - return m_wxAppExtGetPrintMode(this); - } - else { - return res; - } - } - wxAppExtGetTopWindowFunc m_wxAppExtGetTopWindow = NULL; - virtual wxWindow* GetTopWindow() const override - { - wxWindow* res = wxApp::GetTopWindow(); - if (*m_wxAppExtGetTopWindow != NULL){ - return m_wxAppExtGetTopWindow(this); - } - else { - return res; - } - } - wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc m_wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = NULL; - virtual void HandleEvent(wxEvtHandler* handler, wxEventFunction func, wxEvent& event) const override - { - wxApp::HandleEvent(handler, func, event); - if (*m_wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR != NULL){ - return m_wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR(this, handler, func, event); - } - } - wxAppExtInitializeintRwxCharPPFunc m_wxAppExtInitializeintRwxCharPP = NULL; - virtual bool Initialize(int& argc, wxChar** argv) override - { - bool res = wxApp::Initialize(argc, argv); - if (*m_wxAppExtInitializeintRwxCharPP != NULL){ - return m_wxAppExtInitializeintRwxCharPP(this, argc, argv); - } - else { - return res; - } - } - wxAppExtIsActiveFunc m_wxAppExtIsActive = NULL; - virtual bool IsActive() const override - { - bool res = wxApp::IsActive(); - if (*m_wxAppExtIsActive != NULL){ - return m_wxAppExtIsActive(this); - } - else { - return res; - } - } - wxAppExtIsGUIFunc m_wxAppExtIsGUI = NULL; - virtual bool IsGUI() const override - { - bool res = wxApp::IsGUI(); - if (*m_wxAppExtIsGUI != NULL){ - return m_wxAppExtIsGUI(this); - } - else { - return res; - } - } - wxAppExtMainLoopFunc m_wxAppExtMainLoop = NULL; - virtual int MainLoop() override - { - int res = wxApp::MainLoop(); - if (*m_wxAppExtMainLoop != NULL){ - return m_wxAppExtMainLoop(this); - } - else { - return res; - } - } - wxAppExtOnAssertwxCharCPintwxCharCPwxCharCPFunc m_wxAppExtOnAssertwxCharCPintwxCharCPwxCharCP = NULL; - virtual void OnAssert(wxChar const* file, int line, wxChar const* cond, wxChar const* msg) override - { - wxApp::OnAssert(file, line, cond, msg); - if (*m_wxAppExtOnAssertwxCharCPintwxCharCPwxCharCP != NULL){ - return m_wxAppExtOnAssertwxCharCPintwxCharCPwxCharCP(this, file, line, cond, msg); - } - } - wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc m_wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = NULL; - virtual void OnAssertFailure(wxChar const* file, int line, wxChar const* func, wxChar const* cond, wxChar const* msg) override - { - wxApp::OnAssertFailure(file, line, func, cond, msg); - if (*m_wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP != NULL){ - return m_wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP(this, file, line, func, cond, msg); - } - } - wxAppExtOnCmdLineErrorwxCmdLineParserRFunc m_wxAppExtOnCmdLineErrorwxCmdLineParserR = NULL; - virtual bool OnCmdLineError(wxCmdLineParser& parser) override - { - bool res = wxApp::OnCmdLineError(parser); - if (*m_wxAppExtOnCmdLineErrorwxCmdLineParserR != NULL){ - return m_wxAppExtOnCmdLineErrorwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppExtOnCmdLineHelpwxCmdLineParserRFunc m_wxAppExtOnCmdLineHelpwxCmdLineParserR = NULL; - virtual bool OnCmdLineHelp(wxCmdLineParser& parser) override - { - bool res = wxApp::OnCmdLineHelp(parser); - if (*m_wxAppExtOnCmdLineHelpwxCmdLineParserR != NULL){ - return m_wxAppExtOnCmdLineHelpwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppExtOnCmdLineParsedwxCmdLineParserRFunc m_wxAppExtOnCmdLineParsedwxCmdLineParserR = NULL; - virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override - { - bool res = wxApp::OnCmdLineParsed(parser); - if (*m_wxAppExtOnCmdLineParsedwxCmdLineParserR != NULL){ - return m_wxAppExtOnCmdLineParsedwxCmdLineParserR(this, parser); - } - else { - return res; - } - } - wxAppExtOnDynamicBindwxDynamicEventTableEntryRFunc m_wxAppExtOnDynamicBindwxDynamicEventTableEntryR = NULL; - virtual bool OnDynamicBind(wxDynamicEventTableEntry& param0) override - { - bool res = wxApp::OnDynamicBind(param0); - if (*m_wxAppExtOnDynamicBindwxDynamicEventTableEntryR != NULL){ - return m_wxAppExtOnDynamicBindwxDynamicEventTableEntryR(this, param0); - } - else { - return res; - } - } - wxAppExtOnEventLoopEnterwxEventLoopBasePFunc m_wxAppExtOnEventLoopEnterwxEventLoopBaseP = NULL; - virtual void OnEventLoopEnter(wxEventLoopBase* param0) override - { - wxApp::OnEventLoopEnter(param0); - if (*m_wxAppExtOnEventLoopEnterwxEventLoopBaseP != NULL){ - return m_wxAppExtOnEventLoopEnterwxEventLoopBaseP(this, param0); - } - } - wxAppExtOnEventLoopExitwxEventLoopBasePFunc m_wxAppExtOnEventLoopExitwxEventLoopBaseP = NULL; - virtual void OnEventLoopExit(wxEventLoopBase* param0) override - { - wxApp::OnEventLoopExit(param0); - if (*m_wxAppExtOnEventLoopExitwxEventLoopBaseP != NULL){ - return m_wxAppExtOnEventLoopExitwxEventLoopBaseP(this, param0); - } - } - wxAppExtOnExceptionInMainLoopFunc m_wxAppExtOnExceptionInMainLoop = NULL; - virtual bool OnExceptionInMainLoop() override - { - bool res = wxApp::OnExceptionInMainLoop(); - if (*m_wxAppExtOnExceptionInMainLoop != NULL){ - return m_wxAppExtOnExceptionInMainLoop(this); - } - else { - return res; - } - } - wxAppExtOnExitFunc m_wxAppExtOnExit = NULL; - virtual int OnExit() override - { - int res = wxApp::OnExit(); - if (*m_wxAppExtOnExit != NULL){ - return m_wxAppExtOnExit(this); - } - else { - return res; - } - } - wxAppExtOnFatalExceptionFunc m_wxAppExtOnFatalException = NULL; - virtual void OnFatalException() override - { - wxApp::OnFatalException(); - if (*m_wxAppExtOnFatalException != NULL){ - return m_wxAppExtOnFatalException(this); - } - } - wxAppExtOnInitFunc m_wxAppExtOnInit = NULL; - virtual bool OnInit() override - { - bool res = wxApp::OnInit(); - if (*m_wxAppExtOnInit != NULL){ - return m_wxAppExtOnInit(this); - } - else { - return res; - } - } - wxAppExtOnInitCmdLinewxCmdLineParserRFunc m_wxAppExtOnInitCmdLinewxCmdLineParserR = NULL; - virtual void OnInitCmdLine(wxCmdLineParser& parser) override - { - wxApp::OnInitCmdLine(parser); - if (*m_wxAppExtOnInitCmdLinewxCmdLineParserR != NULL){ - return m_wxAppExtOnInitCmdLinewxCmdLineParserR(this, parser); - } - } - wxAppExtOnInitGuiFunc m_wxAppExtOnInitGui = NULL; - virtual bool OnInitGui() override - { - bool res = wxApp::OnInitGui(); - if (*m_wxAppExtOnInitGui != NULL){ - return m_wxAppExtOnInitGui(this); - } - else { - return res; - } - } - wxAppExtOnLaunchedFunc m_wxAppExtOnLaunched = NULL; - virtual void OnLaunched() override - { - wxApp::OnLaunched(); - if (*m_wxAppExtOnLaunched != NULL){ - return m_wxAppExtOnLaunched(this); - } - } - wxAppExtOnRunFunc m_wxAppExtOnRun = NULL; - virtual int OnRun() override - { - int res = wxApp::OnRun(); - if (*m_wxAppExtOnRun != NULL){ - return m_wxAppExtOnRun(this); - } - else { - return res; - } - } - wxAppExtOnUnhandledExceptionFunc m_wxAppExtOnUnhandledException = NULL; - virtual void OnUnhandledException() override - { - wxApp::OnUnhandledException(); - if (*m_wxAppExtOnUnhandledException != NULL){ - return m_wxAppExtOnUnhandledException(this); - } - } - wxAppExtPendingFunc m_wxAppExtPending = NULL; - virtual bool Pending() override - { - bool res = wxApp::Pending(); - if (*m_wxAppExtPending != NULL){ - return m_wxAppExtPending(this); - } - else { - return res; - } - } - wxAppExtProcessEventwxEventRFunc m_wxAppExtProcessEventwxEventR = NULL; - virtual bool ProcessEvent(wxEvent& event) override - { - bool res = wxApp::ProcessEvent(event); - if (*m_wxAppExtProcessEventwxEventR != NULL){ - return m_wxAppExtProcessEventwxEventR(this, event); - } - else { - return res; - } - } - wxAppExtProcessIdleFunc m_wxAppExtProcessIdle = NULL; - virtual bool ProcessIdle() override - { - bool res = wxApp::ProcessIdle(); - if (*m_wxAppExtProcessIdle != NULL){ - return m_wxAppExtProcessIdle(this); - } - else { - return res; - } - } - wxAppExtProcessPendingEventsFunc m_wxAppExtProcessPendingEvents = NULL; - virtual void ProcessPendingEvents() override - { - wxApp::ProcessPendingEvents(); - if (*m_wxAppExtProcessPendingEvents != NULL){ - return m_wxAppExtProcessPendingEvents(this); - } - } - wxAppExtQueueEventwxEventPFunc m_wxAppExtQueueEventwxEventP = NULL; - virtual void QueueEvent(wxEvent* event) override - { - wxApp::QueueEvent(event); - if (*m_wxAppExtQueueEventwxEventP != NULL){ - return m_wxAppExtQueueEventwxEventP(this, event); - } - } - wxAppExtRethrowStoredExceptionFunc m_wxAppExtRethrowStoredException = NULL; - virtual void RethrowStoredException() override - { - wxApp::RethrowStoredException(); - if (*m_wxAppExtRethrowStoredException != NULL){ - return m_wxAppExtRethrowStoredException(this); - } - } - wxAppExtSafeYieldwxWindowPboolFunc m_wxAppExtSafeYieldwxWindowPbool = NULL; - virtual bool SafeYield(wxWindow* win, bool onlyIfNeeded) override - { - bool res = wxApp::SafeYield(win, onlyIfNeeded); - if (*m_wxAppExtSafeYieldwxWindowPbool != NULL){ - return m_wxAppExtSafeYieldwxWindowPbool(this, win, onlyIfNeeded); - } - else { - return res; - } - } - wxAppExtSafeYieldForwxWindowPlongFunc m_wxAppExtSafeYieldForwxWindowPlong = NULL; - virtual bool SafeYieldFor(wxWindow* win, long eventsToProcess) override - { - bool res = wxApp::SafeYieldFor(win, eventsToProcess); - if (*m_wxAppExtSafeYieldForwxWindowPlong != NULL){ - return m_wxAppExtSafeYieldForwxWindowPlong(this, win, eventsToProcess); - } - else { - return res; - } - } - wxAppExtSearchEventTablewxEventTableRwxEventRFunc m_wxAppExtSearchEventTablewxEventTableRwxEventR = NULL; - virtual bool SearchEventTable(wxEventTable& table, wxEvent& event) override - { - bool res = wxApp::SearchEventTable(table, event); - if (*m_wxAppExtSearchEventTablewxEventTableRwxEventR != NULL){ - return m_wxAppExtSearchEventTablewxEventTableRwxEventR(this, table, event); - } - else { - return res; - } - } - wxAppExtSetActiveboolwxWindowPFunc m_wxAppExtSetActiveboolwxWindowP = NULL; - virtual void SetActive(bool isActive, wxWindow* lastFocus) override - { - wxApp::SetActive(isActive, lastFocus); - if (*m_wxAppExtSetActiveboolwxWindowP != NULL){ - return m_wxAppExtSetActiveboolwxWindowP(this, isActive, lastFocus); - } - } - wxAppExtSetCLocaleFunc m_wxAppExtSetCLocale = NULL; - virtual void SetCLocale() override - { - wxApp::SetCLocale(); - if (*m_wxAppExtSetCLocale != NULL){ - return m_wxAppExtSetCLocale(this); - } - } - wxAppExtSetDisplayModewxVideoModeCRFunc m_wxAppExtSetDisplayModewxVideoModeCR = NULL; - virtual bool SetDisplayMode(wxVideoMode const& param0) override - { - bool res = wxApp::SetDisplayMode(param0); - if (*m_wxAppExtSetDisplayModewxVideoModeCR != NULL){ - return m_wxAppExtSetDisplayModewxVideoModeCR(this, param0); - } - else { - return res; - } - } - wxAppExtSetNativeThemewxStringCRFunc m_wxAppExtSetNativeThemewxStringCR = NULL; - virtual bool SetNativeTheme(wxString const& param0) override - { - bool res = wxApp::SetNativeTheme(param0); - if (*m_wxAppExtSetNativeThemewxStringCR != NULL){ - return m_wxAppExtSetNativeThemewxStringCR(this, param0); - } - else { - return res; - } - } - wxAppExtSetNextHandlerwxEvtHandlerPFunc m_wxAppExtSetNextHandlerwxEvtHandlerP = NULL; - virtual void SetNextHandler(wxEvtHandler* handler) override - { - wxApp::SetNextHandler(handler); - if (*m_wxAppExtSetNextHandlerwxEvtHandlerP != NULL){ - return m_wxAppExtSetNextHandlerwxEvtHandlerP(this, handler); - } - } - wxAppExtSetPreviousHandlerwxEvtHandlerPFunc m_wxAppExtSetPreviousHandlerwxEvtHandlerP = NULL; - virtual void SetPreviousHandler(wxEvtHandler* handler) override - { - wxApp::SetPreviousHandler(handler); - if (*m_wxAppExtSetPreviousHandlerwxEvtHandlerP != NULL){ - return m_wxAppExtSetPreviousHandlerwxEvtHandlerP(this, handler); - } - } - wxAppExtSetPrintModeintFunc m_wxAppExtSetPrintModeint = NULL; - virtual void SetPrintMode(int param0) override - { - wxApp::SetPrintMode(param0); - if (*m_wxAppExtSetPrintModeint != NULL){ - return m_wxAppExtSetPrintModeint(this, param0); - } - } - wxAppExtStoreCurrentExceptionFunc m_wxAppExtStoreCurrentException = NULL; - virtual bool StoreCurrentException() override - { - bool res = wxApp::StoreCurrentException(); - if (*m_wxAppExtStoreCurrentException != NULL){ - return m_wxAppExtStoreCurrentException(this); - } - else { - return res; - } - } - wxAppExtTryAfterwxEventRFunc m_wxAppExtTryAfterwxEventR = NULL; - virtual bool TryAfter(wxEvent& event) override - { - bool res = wxApp::TryAfter(event); - if (*m_wxAppExtTryAfterwxEventR != NULL){ - return m_wxAppExtTryAfterwxEventR(this, event); - } - else { - return res; - } - } - wxAppExtTryBeforewxEventRFunc m_wxAppExtTryBeforewxEventR = NULL; - virtual bool TryBefore(wxEvent& event) override - { - bool res = wxApp::TryBefore(event); - if (*m_wxAppExtTryBeforewxEventR != NULL){ - return m_wxAppExtTryBeforewxEventR(this, event); - } - else { - return res; - } - } - wxAppExtUsesEventLoopFunc m_wxAppExtUsesEventLoop = NULL; - virtual bool UsesEventLoop() const override - { - bool res = wxApp::UsesEventLoop(); - if (*m_wxAppExtUsesEventLoop != NULL){ - return m_wxAppExtUsesEventLoop(this); - } - else { - return res; - } - } - wxAppExtWXReservedApp1voidPFunc m_wxAppExtWXReservedApp1voidP = NULL; - virtual void* WXReservedApp1(void* param0) override - { - void* res = wxApp::WXReservedApp1(param0); - if (*m_wxAppExtWXReservedApp1voidP != NULL){ - return m_wxAppExtWXReservedApp1voidP(this, param0); - } - else { - return res; - } - } - wxAppExtWXReservedApp2voidPFunc m_wxAppExtWXReservedApp2voidP = NULL; - virtual void* WXReservedApp2(void* param0) override - { - void* res = wxApp::WXReservedApp2(param0); - if (*m_wxAppExtWXReservedApp2voidP != NULL){ - return m_wxAppExtWXReservedApp2voidP(this, param0); - } - else { - return res; - } - } - wxAppExtWXReservedEvtHandler1voidPFunc m_wxAppExtWXReservedEvtHandler1voidP = NULL; - virtual void* WXReservedEvtHandler1(void* param0) override - { - void* res = wxApp::WXReservedEvtHandler1(param0); - if (*m_wxAppExtWXReservedEvtHandler1voidP != NULL){ - return m_wxAppExtWXReservedEvtHandler1voidP(this, param0); - } - else { - return res; - } - } - wxAppExtWXReservedEvtHandler2voidPFunc m_wxAppExtWXReservedEvtHandler2voidP = NULL; - virtual void* WXReservedEvtHandler2(void* param0) override - { - void* res = wxApp::WXReservedEvtHandler2(param0); - if (*m_wxAppExtWXReservedEvtHandler2voidP != NULL){ - return m_wxAppExtWXReservedEvtHandler2voidP(this, param0); - } - else { - return res; - } - } - wxAppExtWakeUpIdleFunc m_wxAppExtWakeUpIdle = NULL; - virtual void WakeUpIdle() override - { - wxApp::WakeUpIdle(); - if (*m_wxAppExtWakeUpIdle != NULL){ - return m_wxAppExtWakeUpIdle(this); - } - } - wxAppExt(wxAppExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventRFunc a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR, wxAppExtCallOnInitFunc a_CallOnInit, wxAppExtCleanUpFunc a_CleanUp, wxAppExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxAppExtCreateRefDataFunc a_CreateRefData, wxAppExtCreateTraitsFunc a_CreateTraits, wxAppExtDispatchFunc a_Dispatch, wxAppExtDoGetClientDataFunc a_DoGetClientData, wxAppExtDoGetClientObjectFunc a_DoGetClientObject, wxAppExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxAppExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxAppExtExitFunc a_Exit, wxAppExtExitMainLoopFunc a_ExitMainLoop, wxAppExtFilterEventwxEventRFunc a_FilterEventwxEventR, wxAppExtGetClassInfoFunc a_GetClassInfo, wxAppExtGetDisplayModeFunc a_GetDisplayMode, wxAppExtGetEventHashTableFunc a_GetEventHashTable, wxAppExtGetEventTableFunc a_GetEventTable, wxAppExtGetLayoutDirectionFunc a_GetLayoutDirection, wxAppExtGetPrintModeFunc a_GetPrintMode, wxAppExtGetTopWindowFunc a_GetTopWindow, wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventRFunc a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR, wxAppExtInitializeintRwxCharPPFunc a_InitializeintRwxCharPP, wxAppExtIsActiveFunc a_IsActive, wxAppExtIsGUIFunc a_IsGUI, wxAppExtMainLoopFunc a_MainLoop, wxAppExtOnAssertwxCharCPintwxCharCPwxCharCPFunc a_OnAssertwxCharCPintwxCharCPwxCharCP, wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCPFunc a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP, wxAppExtOnCmdLineErrorwxCmdLineParserRFunc a_OnCmdLineErrorwxCmdLineParserR, wxAppExtOnCmdLineHelpwxCmdLineParserRFunc a_OnCmdLineHelpwxCmdLineParserR, wxAppExtOnCmdLineParsedwxCmdLineParserRFunc a_OnCmdLineParsedwxCmdLineParserR, wxAppExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxAppExtOnEventLoopEnterwxEventLoopBasePFunc a_OnEventLoopEnterwxEventLoopBaseP, wxAppExtOnEventLoopExitwxEventLoopBasePFunc a_OnEventLoopExitwxEventLoopBaseP, wxAppExtOnExceptionInMainLoopFunc a_OnExceptionInMainLoop, wxAppExtOnExitFunc a_OnExit, wxAppExtOnFatalExceptionFunc a_OnFatalException, wxAppExtOnInitFunc a_OnInit, wxAppExtOnInitCmdLinewxCmdLineParserRFunc a_OnInitCmdLinewxCmdLineParserR, wxAppExtOnInitGuiFunc a_OnInitGui, wxAppExtOnLaunchedFunc a_OnLaunched, wxAppExtOnRunFunc a_OnRun, wxAppExtOnUnhandledExceptionFunc a_OnUnhandledException, wxAppExtPendingFunc a_Pending, wxAppExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxAppExtProcessIdleFunc a_ProcessIdle, wxAppExtProcessPendingEventsFunc a_ProcessPendingEvents, wxAppExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxAppExtRethrowStoredExceptionFunc a_RethrowStoredException, wxAppExtSafeYieldwxWindowPboolFunc a_SafeYieldwxWindowPbool, wxAppExtSafeYieldForwxWindowPlongFunc a_SafeYieldForwxWindowPlong, wxAppExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxAppExtSetActiveboolwxWindowPFunc a_SetActiveboolwxWindowP, wxAppExtSetCLocaleFunc a_SetCLocale, wxAppExtSetDisplayModewxVideoModeCRFunc a_SetDisplayModewxVideoModeCR, wxAppExtSetNativeThemewxStringCRFunc a_SetNativeThemewxStringCR, wxAppExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxAppExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxAppExtSetPrintModeintFunc a_SetPrintModeint, wxAppExtStoreCurrentExceptionFunc a_StoreCurrentException, wxAppExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxAppExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxAppExtUsesEventLoopFunc a_UsesEventLoop, wxAppExtWXReservedApp1voidPFunc a_WXReservedApp1voidP, wxAppExtWXReservedApp2voidPFunc a_WXReservedApp2voidP, wxAppExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxAppExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxAppExtWakeUpIdleFunc a_WakeUpIdle): wxApp() { - m_wxAppExtAddPendingEventwxEventCR = a_AddPendingEventwxEventCR; - m_wxAppExtCallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR = a_CallEventHandlerwxEvtHandlerPwxEventFunctorRwxEventR; - m_wxAppExtCallOnInit = a_CallOnInit; - m_wxAppExtCleanUp = a_CleanUp; - m_wxAppExtCloneRefDatawxObjectRefDataCP = a_CloneRefDatawxObjectRefDataCP; - m_wxAppExtCreateRefData = a_CreateRefData; - m_wxAppExtCreateTraits = a_CreateTraits; - m_wxAppExtDispatch = a_Dispatch; - m_wxAppExtDoGetClientData = a_DoGetClientData; - m_wxAppExtDoGetClientObject = a_DoGetClientObject; - m_wxAppExtDoSetClientDatavoidP = a_DoSetClientDatavoidP; - m_wxAppExtDoSetClientObjectwxClientDataP = a_DoSetClientObjectwxClientDataP; - m_wxAppExtExit = a_Exit; - m_wxAppExtExitMainLoop = a_ExitMainLoop; - m_wxAppExtFilterEventwxEventR = a_FilterEventwxEventR; - m_wxAppExtGetClassInfo = a_GetClassInfo; - m_wxAppExtGetDisplayMode = a_GetDisplayMode; - m_wxAppExtGetEventHashTable = a_GetEventHashTable; - m_wxAppExtGetEventTable = a_GetEventTable; - m_wxAppExtGetLayoutDirection = a_GetLayoutDirection; - m_wxAppExtGetPrintMode = a_GetPrintMode; - m_wxAppExtGetTopWindow = a_GetTopWindow; - m_wxAppExtHandleEventwxEvtHandlerPwxEventFunctionwxEventR = a_HandleEventwxEvtHandlerPwxEventFunctionwxEventR; - m_wxAppExtInitializeintRwxCharPP = a_InitializeintRwxCharPP; - m_wxAppExtIsActive = a_IsActive; - m_wxAppExtIsGUI = a_IsGUI; - m_wxAppExtMainLoop = a_MainLoop; - m_wxAppExtOnAssertwxCharCPintwxCharCPwxCharCP = a_OnAssertwxCharCPintwxCharCPwxCharCP; - m_wxAppExtOnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP = a_OnAssertFailurewxCharCPintwxCharCPwxCharCPwxCharCP; - m_wxAppExtOnCmdLineErrorwxCmdLineParserR = a_OnCmdLineErrorwxCmdLineParserR; - m_wxAppExtOnCmdLineHelpwxCmdLineParserR = a_OnCmdLineHelpwxCmdLineParserR; - m_wxAppExtOnCmdLineParsedwxCmdLineParserR = a_OnCmdLineParsedwxCmdLineParserR; - m_wxAppExtOnDynamicBindwxDynamicEventTableEntryR = a_OnDynamicBindwxDynamicEventTableEntryR; - m_wxAppExtOnEventLoopEnterwxEventLoopBaseP = a_OnEventLoopEnterwxEventLoopBaseP; - m_wxAppExtOnEventLoopExitwxEventLoopBaseP = a_OnEventLoopExitwxEventLoopBaseP; - m_wxAppExtOnExceptionInMainLoop = a_OnExceptionInMainLoop; - m_wxAppExtOnExit = a_OnExit; - m_wxAppExtOnFatalException = a_OnFatalException; - m_wxAppExtOnInit = a_OnInit; - m_wxAppExtOnInitCmdLinewxCmdLineParserR = a_OnInitCmdLinewxCmdLineParserR; - m_wxAppExtOnInitGui = a_OnInitGui; - m_wxAppExtOnLaunched = a_OnLaunched; - m_wxAppExtOnRun = a_OnRun; - m_wxAppExtOnUnhandledException = a_OnUnhandledException; - m_wxAppExtPending = a_Pending; - m_wxAppExtProcessEventwxEventR = a_ProcessEventwxEventR; - m_wxAppExtProcessIdle = a_ProcessIdle; - m_wxAppExtProcessPendingEvents = a_ProcessPendingEvents; - m_wxAppExtQueueEventwxEventP = a_QueueEventwxEventP; - m_wxAppExtRethrowStoredException = a_RethrowStoredException; - m_wxAppExtSafeYieldwxWindowPbool = a_SafeYieldwxWindowPbool; - m_wxAppExtSafeYieldForwxWindowPlong = a_SafeYieldForwxWindowPlong; - m_wxAppExtSearchEventTablewxEventTableRwxEventR = a_SearchEventTablewxEventTableRwxEventR; - m_wxAppExtSetActiveboolwxWindowP = a_SetActiveboolwxWindowP; - m_wxAppExtSetCLocale = a_SetCLocale; - m_wxAppExtSetDisplayModewxVideoModeCR = a_SetDisplayModewxVideoModeCR; - m_wxAppExtSetNativeThemewxStringCR = a_SetNativeThemewxStringCR; - m_wxAppExtSetNextHandlerwxEvtHandlerP = a_SetNextHandlerwxEvtHandlerP; - m_wxAppExtSetPreviousHandlerwxEvtHandlerP = a_SetPreviousHandlerwxEvtHandlerP; - m_wxAppExtSetPrintModeint = a_SetPrintModeint; - m_wxAppExtStoreCurrentException = a_StoreCurrentException; - m_wxAppExtTryAfterwxEventR = a_TryAfterwxEventR; - m_wxAppExtTryBeforewxEventR = a_TryBeforewxEventR; - m_wxAppExtUsesEventLoop = a_UsesEventLoop; - m_wxAppExtWXReservedApp1voidP = a_WXReservedApp1voidP; - m_wxAppExtWXReservedApp2voidP = a_WXReservedApp2voidP; - m_wxAppExtWXReservedEvtHandler1voidP = a_WXReservedEvtHandler1voidP; - m_wxAppExtWXReservedEvtHandler2voidP = a_WXReservedEvtHandler2voidP; - m_wxAppExtWakeUpIdle = a_WakeUpIdle; - } -}; - -class wxAppInitializerExt: public wxAppInitializer -{ -public: - wxAppInitializerExt(wxAppInitializerFunction fn): wxAppInitializer(fn) { } -}; - - - -#endif diff --git a/wxheaders/wxext/frame_ext.h b/wxheaders/wxext/frame_ext.h index b957848..fe0e33d 100644 --- a/wxheaders/wxext/frame_ext.h +++ b/wxheaders/wxext/frame_ext.h @@ -56,8 +56,6 @@ typedef void (*wxFrameBaseExtPositionStatusBarFunc)(const wxFrameBaseExt* self); typedef void (*wxFrameBaseExtPositionToolBarFunc)(const wxFrameBaseExt* self); typedef void (*wxFrameBaseExtRequestUserAttentionintFunc)(const wxFrameBaseExt* self, int flags); typedef void (*wxFrameBaseExtRestoreFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtRestoreFieldwxStringCRintPFunc)(const wxFrameBaseExt* self, wxString const& name, int* value); -typedef bool (*wxFrameBaseExtSaveFieldwxStringCRintFunc)(const wxFrameBaseExt* self, wxString const& name, int value); typedef bool (*wxFrameBaseExtSetContentProtectionwxContentProtectionFunc)(const wxFrameBaseExt* self, wxContentProtection contentProtection); typedef void (*wxFrameBaseExtSetIconswxIconBundleCRFunc)(const wxFrameBaseExt* self, wxIconBundle const& icons); typedef void (*wxFrameBaseExtSetLabelwxStringCRFunc)(const wxFrameBaseExt* self, wxString const& label); @@ -132,8 +130,6 @@ typedef void (*wxFrameExtPositionStatusBarFunc)(const wxFrameExt* self); typedef void (*wxFrameExtPositionToolBarFunc)(const wxFrameExt* self); typedef void (*wxFrameExtRequestUserAttentionintFunc)(const wxFrameExt* self, int flags); typedef void (*wxFrameExtRestoreFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtRestoreFieldwxStringCRintPFunc)(const wxFrameExt* self, wxString const& name, int* value); -typedef bool (*wxFrameExtSaveFieldwxStringCRintFunc)(const wxFrameExt* self, wxString const& name, int value); typedef bool (*wxFrameExtSetContentProtectionwxContentProtectionFunc)(const wxFrameExt* self, wxContentProtection contentProtection); typedef void (*wxFrameExtSetIconswxIconBundleCRFunc)(const wxFrameExt* self, wxIconBundle const& icons); typedef void (*wxFrameExtSetLabelwxStringCRFunc)(const wxFrameExt* self, wxString const& label); @@ -193,11 +189,12 @@ public: wxFrameBaseExtDestroyFunc m_wxFrameBaseExtDestroy = NULL; virtual bool Destroy() override { + bool res = wxFrameBase::Destroy(); if (*m_wxFrameBaseExtDestroy != NULL){ return m_wxFrameBaseExtDestroy(this); } else { - return false; + return res; } } wxFrameBaseExtDetachMenuBarFunc m_wxFrameBaseExtDetachMenuBar = NULL; @@ -267,41 +264,45 @@ public: wxFrameBaseExtEnableCloseButtonboolFunc m_wxFrameBaseExtEnableCloseButtonbool = NULL; virtual bool EnableCloseButton(bool enable = true) override { + bool res = wxFrameBase::EnableCloseButton(enable); if (*m_wxFrameBaseExtEnableCloseButtonbool != NULL){ return m_wxFrameBaseExtEnableCloseButtonbool(this, enable); } else { - return false; + return res; } } wxFrameBaseExtEnableFullScreenViewboollongFunc m_wxFrameBaseExtEnableFullScreenViewboollong = NULL; virtual bool EnableFullScreenView(bool enable = true, long style = wxFULLSCREEN_ALL) override { + bool res = wxFrameBase::EnableFullScreenView(enable, style); if (*m_wxFrameBaseExtEnableFullScreenViewboollong != NULL){ return m_wxFrameBaseExtEnableFullScreenViewboollong(this, enable, style); } else { - return false; + return res; } } wxFrameBaseExtEnableMaximizeButtonboolFunc m_wxFrameBaseExtEnableMaximizeButtonbool = NULL; virtual bool EnableMaximizeButton(bool enable = true) override { + bool res = wxFrameBase::EnableMaximizeButton(enable); if (*m_wxFrameBaseExtEnableMaximizeButtonbool != NULL){ return m_wxFrameBaseExtEnableMaximizeButtonbool(this, enable); } else { - return false; + return res; } } wxFrameBaseExtEnableMinimizeButtonboolFunc m_wxFrameBaseExtEnableMinimizeButtonbool = NULL; virtual bool EnableMinimizeButton(bool enable = true) override { + bool res = wxFrameBase::EnableMinimizeButton(enable); if (*m_wxFrameBaseExtEnableMinimizeButtonbool != NULL){ return m_wxFrameBaseExtEnableMinimizeButtonbool(this, enable); } else { - return false; + return res; } } wxFrameBaseExtFindItemInMenuBarintFunc m_wxFrameBaseExtFindItemInMenuBarint = NULL; @@ -340,11 +341,12 @@ public: wxFrameBaseExtGetContentProtectionFunc m_wxFrameBaseExtGetContentProtection = NULL; virtual wxContentProtection GetContentProtection() const override { + wxContentProtection res = wxFrameBase::GetContentProtection(); if (*m_wxFrameBaseExtGetContentProtection != NULL){ return m_wxFrameBaseExtGetContentProtection(this); } else { - return wxContentProtection(); + return res; } } wxFrameBaseExtGetEventHashTableFunc m_wxFrameBaseExtGetEventHashTable = NULL; @@ -413,11 +415,12 @@ public: wxFrameBaseExtGetTitleFunc m_wxFrameBaseExtGetTitle = NULL; virtual wxString GetTitle() const override { + wxString res = wxFrameBase::GetTitle(); if (*m_wxFrameBaseExtGetTitle != NULL){ return m_wxFrameBaseExtGetTitle(this); } else { - return ""; + return res; } } wxFrameBaseExtGetToolBarFunc m_wxFrameBaseExtGetToolBar = NULL; @@ -434,6 +437,7 @@ public: wxFrameBaseExtIconizeboolFunc m_wxFrameBaseExtIconizebool = NULL; virtual void Iconize(bool iconize = true) override { + wxFrameBase::Iconize(iconize); if (*m_wxFrameBaseExtIconizebool != NULL){ return m_wxFrameBaseExtIconizebool(this, iconize); } @@ -441,11 +445,12 @@ public: wxFrameBaseExtIsActiveFunc m_wxFrameBaseExtIsActive = NULL; virtual bool IsActive() override { + bool res = wxFrameBase::IsActive(); if (*m_wxFrameBaseExtIsActive != NULL){ return m_wxFrameBaseExtIsActive(this); } else { - return false; + return res; } } wxFrameBaseExtIsAlwaysMaximizedFunc m_wxFrameBaseExtIsAlwaysMaximized = NULL; @@ -473,31 +478,34 @@ public: wxFrameBaseExtIsFullScreenFunc m_wxFrameBaseExtIsFullScreen = NULL; virtual bool IsFullScreen() const override { + bool res = wxFrameBase::IsFullScreen(); if (*m_wxFrameBaseExtIsFullScreen != NULL){ return m_wxFrameBaseExtIsFullScreen(this); } else { - return false; + return res; } } wxFrameBaseExtIsIconizedFunc m_wxFrameBaseExtIsIconized = NULL; virtual bool IsIconized() const override { + bool res = wxFrameBase::IsIconized(); if (*m_wxFrameBaseExtIsIconized != NULL){ return m_wxFrameBaseExtIsIconized(this); } else { - return false; + return res; } } wxFrameBaseExtIsMaximizedFunc m_wxFrameBaseExtIsMaximized = NULL; virtual bool IsMaximized() const override { + bool res = wxFrameBase::IsMaximized(); if (*m_wxFrameBaseExtIsMaximized != NULL){ return m_wxFrameBaseExtIsMaximized(this); } else { - return false; + return res; } } wxFrameBaseExtIsOneOfBarswxWindowCPFunc m_wxFrameBaseExtIsOneOfBarswxWindowCP = NULL; @@ -558,6 +566,7 @@ public: wxFrameBaseExtMaximizeboolFunc m_wxFrameBaseExtMaximizebool = NULL; virtual void Maximize(bool maximize = true) override { + wxFrameBase::Maximize(maximize); if (*m_wxFrameBaseExtMaximizebool != NULL){ return m_wxFrameBaseExtMaximizebool(this, maximize); } @@ -638,6 +647,7 @@ public: wxFrameBaseExtRequestUserAttentionintFunc m_wxFrameBaseExtRequestUserAttentionint = NULL; virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO) override { + wxFrameBase::RequestUserAttention(flags); if (*m_wxFrameBaseExtRequestUserAttentionint != NULL){ return m_wxFrameBaseExtRequestUserAttentionint(this, flags); } @@ -645,38 +655,20 @@ public: wxFrameBaseExtRestoreFunc m_wxFrameBaseExtRestore = NULL; virtual void Restore() override { + wxFrameBase::Restore(); if (*m_wxFrameBaseExtRestore != NULL){ return m_wxFrameBaseExtRestore(this); } } - wxFrameBaseExtRestoreFieldwxStringCRintPFunc m_wxFrameBaseExtRestoreFieldwxStringCRintP = NULL; - virtual bool RestoreField(wxString const& name, int* value) - { - if (*m_wxFrameBaseExtRestoreFieldwxStringCRintP != NULL){ - return m_wxFrameBaseExtRestoreFieldwxStringCRintP(this, name, value); - } - else { - return false; - } - } - wxFrameBaseExtSaveFieldwxStringCRintFunc m_wxFrameBaseExtSaveFieldwxStringCRint = NULL; - virtual bool SaveField(wxString const& name, int value) const - { - if (*m_wxFrameBaseExtSaveFieldwxStringCRint != NULL){ - return m_wxFrameBaseExtSaveFieldwxStringCRint(this, name, value); - } - else { - return false; - } - } wxFrameBaseExtSetContentProtectionwxContentProtectionFunc m_wxFrameBaseExtSetContentProtectionwxContentProtection = NULL; virtual bool SetContentProtection(wxContentProtection contentProtection) override { + bool res = wxFrameBase::SetContentProtection(contentProtection); if (*m_wxFrameBaseExtSetContentProtectionwxContentProtection != NULL){ return m_wxFrameBaseExtSetContentProtectionwxContentProtection(this, contentProtection); } else { - return false; + return res; } } wxFrameBaseExtSetIconswxIconBundleCRFunc m_wxFrameBaseExtSetIconswxIconBundleCR = NULL; @@ -722,6 +714,7 @@ public: wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc m_wxFrameBaseExtSetRepresentedFilenamewxStringCR = NULL; virtual void SetRepresentedFilename(wxString const& filename) override { + wxFrameBase::SetRepresentedFilename(filename); if (*m_wxFrameBaseExtSetRepresentedFilenamewxStringCR != NULL){ return m_wxFrameBaseExtSetRepresentedFilenamewxStringCR(this, filename); } @@ -753,6 +746,7 @@ public: wxFrameBaseExtSetTitlewxStringCRFunc m_wxFrameBaseExtSetTitlewxStringCR = NULL; virtual void SetTitle(wxString const& title) override { + wxFrameBase::SetTitle(title); if (*m_wxFrameBaseExtSetTitlewxStringCR != NULL){ return m_wxFrameBaseExtSetTitlewxStringCR(this, title); } @@ -779,16 +773,18 @@ public: wxFrameBaseExtShowFullScreenboollongFunc m_wxFrameBaseExtShowFullScreenboollong = NULL; virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) override { + bool res = wxFrameBase::ShowFullScreen(show, style); if (*m_wxFrameBaseExtShowFullScreenboollong != NULL){ return m_wxFrameBaseExtShowFullScreenboollong(this, show, style); } else { - return false; + return res; } } wxFrameBaseExtShowWithoutActivatingFunc m_wxFrameBaseExtShowWithoutActivating = NULL; virtual void ShowWithoutActivating() override { + wxFrameBase::ShowWithoutActivating(); if (*m_wxFrameBaseExtShowWithoutActivating != NULL){ return m_wxFrameBaseExtShowWithoutActivating(this); } @@ -834,7 +830,7 @@ public: return res; } } - wxFrameBaseExt(wxFrameBaseExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtDestroyFunc a_Destroy, wxFrameBaseExtDetachMenuBarFunc a_DetachMenuBar, wxFrameBaseExtDoCentreintFunc a_DoCentreint, wxFrameBaseExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameBaseExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameBaseExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameBaseExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameBaseExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameBaseExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameBaseExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameBaseExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameBaseExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameBaseExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameBaseExtGetClassInfoFunc a_GetClassInfo, wxFrameBaseExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameBaseExtGetContentProtectionFunc a_GetContentProtection, wxFrameBaseExtGetEventHashTableFunc a_GetEventHashTable, wxFrameBaseExtGetEventTableFunc a_GetEventTable, wxFrameBaseExtGetLabelFunc a_GetLabel, wxFrameBaseExtGetMenuBarFunc a_GetMenuBar, wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameBaseExtGetStatusBarFunc a_GetStatusBar, wxFrameBaseExtGetTitleFunc a_GetTitle, wxFrameBaseExtGetToolBarFunc a_GetToolBar, wxFrameBaseExtIconizeboolFunc a_Iconizebool, wxFrameBaseExtIsActiveFunc a_IsActive, wxFrameBaseExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameBaseExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameBaseExtIsFullScreenFunc a_IsFullScreen, wxFrameBaseExtIsIconizedFunc a_IsIconized, wxFrameBaseExtIsMaximizedFunc a_IsMaximized, wxFrameBaseExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameBaseExtIsTopLevelFunc a_IsTopLevel, wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameBaseExtIsVisibleFunc a_IsVisible, wxFrameBaseExtLayoutFunc a_Layout, wxFrameBaseExtMaximizeboolFunc a_Maximizebool, wxFrameBaseExtOSXIsModifiedFunc a_OSXIsModified, wxFrameBaseExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtOnInternalIdleFunc a_OnInternalIdle, wxFrameBaseExtPositionMenuBarFunc a_PositionMenuBar, wxFrameBaseExtPositionStatusBarFunc a_PositionStatusBar, wxFrameBaseExtPositionToolBarFunc a_PositionToolBar, wxFrameBaseExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameBaseExtRestoreFunc a_Restore, wxFrameBaseExtRestoreFieldwxStringCRintPFunc a_RestoreFieldwxStringCRintP, wxFrameBaseExtSaveFieldwxStringCRintFunc a_SaveFieldwxStringCRint, wxFrameBaseExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameBaseExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameBaseExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameBaseExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameBaseExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameBaseExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameBaseExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameBaseExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameBaseExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameBaseExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameBaseExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameBaseExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameBaseExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameBaseExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameBaseExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameBaseExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameBaseExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameBaseExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrameBase() { + wxFrameBaseExt(wxFrameBaseExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtDestroyFunc a_Destroy, wxFrameBaseExtDetachMenuBarFunc a_DetachMenuBar, wxFrameBaseExtDoCentreintFunc a_DoCentreint, wxFrameBaseExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameBaseExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameBaseExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameBaseExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameBaseExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameBaseExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameBaseExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameBaseExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameBaseExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameBaseExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameBaseExtGetClassInfoFunc a_GetClassInfo, wxFrameBaseExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameBaseExtGetContentProtectionFunc a_GetContentProtection, wxFrameBaseExtGetEventHashTableFunc a_GetEventHashTable, wxFrameBaseExtGetEventTableFunc a_GetEventTable, wxFrameBaseExtGetLabelFunc a_GetLabel, wxFrameBaseExtGetMenuBarFunc a_GetMenuBar, wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameBaseExtGetStatusBarFunc a_GetStatusBar, wxFrameBaseExtGetTitleFunc a_GetTitle, wxFrameBaseExtGetToolBarFunc a_GetToolBar, wxFrameBaseExtIconizeboolFunc a_Iconizebool, wxFrameBaseExtIsActiveFunc a_IsActive, wxFrameBaseExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameBaseExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameBaseExtIsFullScreenFunc a_IsFullScreen, wxFrameBaseExtIsIconizedFunc a_IsIconized, wxFrameBaseExtIsMaximizedFunc a_IsMaximized, wxFrameBaseExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameBaseExtIsTopLevelFunc a_IsTopLevel, wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameBaseExtIsVisibleFunc a_IsVisible, wxFrameBaseExtLayoutFunc a_Layout, wxFrameBaseExtMaximizeboolFunc a_Maximizebool, wxFrameBaseExtOSXIsModifiedFunc a_OSXIsModified, wxFrameBaseExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtOnInternalIdleFunc a_OnInternalIdle, wxFrameBaseExtPositionMenuBarFunc a_PositionMenuBar, wxFrameBaseExtPositionStatusBarFunc a_PositionStatusBar, wxFrameBaseExtPositionToolBarFunc a_PositionToolBar, wxFrameBaseExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameBaseExtRestoreFunc a_Restore, wxFrameBaseExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameBaseExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameBaseExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameBaseExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameBaseExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameBaseExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameBaseExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameBaseExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameBaseExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameBaseExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameBaseExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameBaseExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameBaseExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameBaseExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameBaseExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameBaseExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameBaseExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameBaseExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrameBase() { m_wxFrameBaseExtAttachMenuBarwxMenuBarP = a_AttachMenuBarwxMenuBarP; m_wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCR = a_CreateStatusBarintlongwxWindowIDwxStringCR; m_wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCR = a_CreateToolBarlongwxWindowIDwxStringCR; @@ -886,8 +882,6 @@ public: m_wxFrameBaseExtPositionToolBar = a_PositionToolBar; m_wxFrameBaseExtRequestUserAttentionint = a_RequestUserAttentionint; m_wxFrameBaseExtRestore = a_Restore; - m_wxFrameBaseExtRestoreFieldwxStringCRintP = a_RestoreFieldwxStringCRintP; - m_wxFrameBaseExtSaveFieldwxStringCRint = a_SaveFieldwxStringCRint; m_wxFrameBaseExtSetContentProtectionwxContentProtection = a_SetContentProtectionwxContentProtection; m_wxFrameBaseExtSetIconswxIconBundleCR = a_SetIconswxIconBundleCR; m_wxFrameBaseExtSetLabelwxStringCR = a_SetLabelwxStringCR; @@ -948,11 +942,12 @@ public: wxFrameExtDestroyFunc m_wxFrameExtDestroy = NULL; virtual bool Destroy() override { + bool res = wxFrame::Destroy(); if (*m_wxFrameExtDestroy != NULL){ return m_wxFrameExtDestroy(this); } else { - return false; + return res; } } wxFrameExtDetachMenuBarFunc m_wxFrameExtDetachMenuBar = NULL; @@ -1049,41 +1044,45 @@ public: wxFrameExtEnableCloseButtonboolFunc m_wxFrameExtEnableCloseButtonbool = NULL; virtual bool EnableCloseButton(bool enable = true) override { + bool res = wxFrame::EnableCloseButton(enable); if (*m_wxFrameExtEnableCloseButtonbool != NULL){ return m_wxFrameExtEnableCloseButtonbool(this, enable); } else { - return false; + return res; } } wxFrameExtEnableFullScreenViewboollongFunc m_wxFrameExtEnableFullScreenViewboollong = NULL; virtual bool EnableFullScreenView(bool enable = true, long style = wxFULLSCREEN_ALL) override { + bool res = wxFrame::EnableFullScreenView(enable, style); if (*m_wxFrameExtEnableFullScreenViewboollong != NULL){ return m_wxFrameExtEnableFullScreenViewboollong(this, enable, style); } else { - return false; + return res; } } wxFrameExtEnableMaximizeButtonboolFunc m_wxFrameExtEnableMaximizeButtonbool = NULL; virtual bool EnableMaximizeButton(bool enable = true) override { + bool res = wxFrame::EnableMaximizeButton(enable); if (*m_wxFrameExtEnableMaximizeButtonbool != NULL){ return m_wxFrameExtEnableMaximizeButtonbool(this, enable); } else { - return false; + return res; } } wxFrameExtEnableMinimizeButtonboolFunc m_wxFrameExtEnableMinimizeButtonbool = NULL; virtual bool EnableMinimizeButton(bool enable = true) override { + bool res = wxFrame::EnableMinimizeButton(enable); if (*m_wxFrameExtEnableMinimizeButtonbool != NULL){ return m_wxFrameExtEnableMinimizeButtonbool(this, enable); } else { - return false; + return res; } } wxFrameExtFindItemInMenuBarintFunc m_wxFrameExtFindItemInMenuBarint = NULL; @@ -1122,11 +1121,12 @@ public: wxFrameExtGetContentProtectionFunc m_wxFrameExtGetContentProtection = NULL; virtual wxContentProtection GetContentProtection() const override { + wxContentProtection res = wxFrame::GetContentProtection(); if (*m_wxFrameExtGetContentProtection != NULL){ return m_wxFrameExtGetContentProtection(this); } else { - return wxContentProtection(); + return res; } } wxFrameExtGetEventHashTableFunc m_wxFrameExtGetEventHashTable = NULL; @@ -1195,11 +1195,12 @@ public: wxFrameExtGetTitleFunc m_wxFrameExtGetTitle = NULL; virtual wxString GetTitle() const override { + wxString res = wxFrame::GetTitle(); if (*m_wxFrameExtGetTitle != NULL){ return m_wxFrameExtGetTitle(this); } else { - return ""; + return res; } } wxFrameExtGetToolBarFunc m_wxFrameExtGetToolBar = NULL; @@ -1216,6 +1217,7 @@ public: wxFrameExtIconizeboolFunc m_wxFrameExtIconizebool = NULL; virtual void Iconize(bool iconize = true) override { + wxFrame::Iconize(iconize); if (*m_wxFrameExtIconizebool != NULL){ return m_wxFrameExtIconizebool(this, iconize); } @@ -1223,11 +1225,12 @@ public: wxFrameExtIsActiveFunc m_wxFrameExtIsActive = NULL; virtual bool IsActive() override { + bool res = wxFrame::IsActive(); if (*m_wxFrameExtIsActive != NULL){ return m_wxFrameExtIsActive(this); } else { - return false; + return res; } } wxFrameExtIsAlwaysMaximizedFunc m_wxFrameExtIsAlwaysMaximized = NULL; @@ -1255,31 +1258,34 @@ public: wxFrameExtIsFullScreenFunc m_wxFrameExtIsFullScreen = NULL; virtual bool IsFullScreen() const override { + bool res = wxFrame::IsFullScreen(); if (*m_wxFrameExtIsFullScreen != NULL){ return m_wxFrameExtIsFullScreen(this); } else { - return false; + return res; } } wxFrameExtIsIconizedFunc m_wxFrameExtIsIconized = NULL; virtual bool IsIconized() const override { + bool res = wxFrame::IsIconized(); if (*m_wxFrameExtIsIconized != NULL){ return m_wxFrameExtIsIconized(this); } else { - return false; + return res; } } wxFrameExtIsMaximizedFunc m_wxFrameExtIsMaximized = NULL; virtual bool IsMaximized() const override { + bool res = wxFrame::IsMaximized(); if (*m_wxFrameExtIsMaximized != NULL){ return m_wxFrameExtIsMaximized(this); } else { - return false; + return res; } } wxFrameExtIsOneOfBarswxWindowCPFunc m_wxFrameExtIsOneOfBarswxWindowCP = NULL; @@ -1340,6 +1346,7 @@ public: wxFrameExtMaximizeboolFunc m_wxFrameExtMaximizebool = NULL; virtual void Maximize(bool maximize = true) override { + wxFrame::Maximize(maximize); if (*m_wxFrameExtMaximizebool != NULL){ return m_wxFrameExtMaximizebool(this, maximize); } @@ -1420,6 +1427,7 @@ public: wxFrameExtRequestUserAttentionintFunc m_wxFrameExtRequestUserAttentionint = NULL; virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO) override { + wxFrame::RequestUserAttention(flags); if (*m_wxFrameExtRequestUserAttentionint != NULL){ return m_wxFrameExtRequestUserAttentionint(this, flags); } @@ -1427,38 +1435,20 @@ public: wxFrameExtRestoreFunc m_wxFrameExtRestore = NULL; virtual void Restore() override { + wxFrame::Restore(); if (*m_wxFrameExtRestore != NULL){ return m_wxFrameExtRestore(this); } } - wxFrameExtRestoreFieldwxStringCRintPFunc m_wxFrameExtRestoreFieldwxStringCRintP = NULL; - virtual bool RestoreField(wxString const& name, int* value) - { - if (*m_wxFrameExtRestoreFieldwxStringCRintP != NULL){ - return m_wxFrameExtRestoreFieldwxStringCRintP(this, name, value); - } - else { - return false; - } - } - wxFrameExtSaveFieldwxStringCRintFunc m_wxFrameExtSaveFieldwxStringCRint = NULL; - virtual bool SaveField(wxString const& name, int value) const - { - if (*m_wxFrameExtSaveFieldwxStringCRint != NULL){ - return m_wxFrameExtSaveFieldwxStringCRint(this, name, value); - } - else { - return false; - } - } wxFrameExtSetContentProtectionwxContentProtectionFunc m_wxFrameExtSetContentProtectionwxContentProtection = NULL; virtual bool SetContentProtection(wxContentProtection contentProtection) override { + bool res = wxFrame::SetContentProtection(contentProtection); if (*m_wxFrameExtSetContentProtectionwxContentProtection != NULL){ return m_wxFrameExtSetContentProtectionwxContentProtection(this, contentProtection); } else { - return false; + return res; } } wxFrameExtSetIconswxIconBundleCRFunc m_wxFrameExtSetIconswxIconBundleCR = NULL; @@ -1504,6 +1494,7 @@ public: wxFrameExtSetRepresentedFilenamewxStringCRFunc m_wxFrameExtSetRepresentedFilenamewxStringCR = NULL; virtual void SetRepresentedFilename(wxString const& filename) override { + wxFrame::SetRepresentedFilename(filename); if (*m_wxFrameExtSetRepresentedFilenamewxStringCR != NULL){ return m_wxFrameExtSetRepresentedFilenamewxStringCR(this, filename); } @@ -1535,6 +1526,7 @@ public: wxFrameExtSetTitlewxStringCRFunc m_wxFrameExtSetTitlewxStringCR = NULL; virtual void SetTitle(wxString const& title) override { + wxFrame::SetTitle(title); if (*m_wxFrameExtSetTitlewxStringCR != NULL){ return m_wxFrameExtSetTitlewxStringCR(this, title); } @@ -1572,16 +1564,18 @@ public: wxFrameExtShowFullScreenboollongFunc m_wxFrameExtShowFullScreenboollong = NULL; virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) override { + bool res = wxFrame::ShowFullScreen(show, style); if (*m_wxFrameExtShowFullScreenboollong != NULL){ return m_wxFrameExtShowFullScreenboollong(this, show, style); } else { - return false; + return res; } } wxFrameExtShowWithoutActivatingFunc m_wxFrameExtShowWithoutActivating = NULL; virtual void ShowWithoutActivating() override { + wxFrame::ShowWithoutActivating(); if (*m_wxFrameExtShowWithoutActivating != NULL){ return m_wxFrameExtShowWithoutActivating(this); } @@ -1627,7 +1621,7 @@ public: return res; } } - wxFrameExt(wxFrameExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameExtDestroyFunc a_Destroy, wxFrameExtDetachMenuBarFunc a_DetachMenuBar, wxFrameExtDoCentreintFunc a_DoCentreint, wxFrameExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameExtDoGetClientSizeintPintPFunc a_DoGetClientSizeintPintP, wxFrameExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameExtDoSetClientSizeintintFunc a_DoSetClientSizeintint, wxFrameExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameExtEnableboolFunc a_Enablebool, wxFrameExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameExtGetClassInfoFunc a_GetClassInfo, wxFrameExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameExtGetContentProtectionFunc a_GetContentProtection, wxFrameExtGetEventHashTableFunc a_GetEventHashTable, wxFrameExtGetEventTableFunc a_GetEventTable, wxFrameExtGetLabelFunc a_GetLabel, wxFrameExtGetMenuBarFunc a_GetMenuBar, wxFrameExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameExtGetStatusBarFunc a_GetStatusBar, wxFrameExtGetTitleFunc a_GetTitle, wxFrameExtGetToolBarFunc a_GetToolBar, wxFrameExtIconizeboolFunc a_Iconizebool, wxFrameExtIsActiveFunc a_IsActive, wxFrameExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameExtIsFullScreenFunc a_IsFullScreen, wxFrameExtIsIconizedFunc a_IsIconized, wxFrameExtIsMaximizedFunc a_IsMaximized, wxFrameExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameExtIsTopLevelFunc a_IsTopLevel, wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameExtIsVisibleFunc a_IsVisible, wxFrameExtLayoutFunc a_Layout, wxFrameExtMaximizeboolFunc a_Maximizebool, wxFrameExtOSXIsModifiedFunc a_OSXIsModified, wxFrameExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameExtOnInternalIdleFunc a_OnInternalIdle, wxFrameExtPositionMenuBarFunc a_PositionMenuBar, wxFrameExtPositionStatusBarFunc a_PositionStatusBar, wxFrameExtPositionToolBarFunc a_PositionToolBar, wxFrameExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameExtRestoreFunc a_Restore, wxFrameExtRestoreFieldwxStringCRintPFunc a_RestoreFieldwxStringCRintP, wxFrameExtSaveFieldwxStringCRintFunc a_SaveFieldwxStringCRint, wxFrameExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameExtShowboolFunc a_Showbool, wxFrameExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrame() { + wxFrameExt(wxFrameExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameExtDestroyFunc a_Destroy, wxFrameExtDetachMenuBarFunc a_DetachMenuBar, wxFrameExtDoCentreintFunc a_DoCentreint, wxFrameExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameExtDoGetClientSizeintPintPFunc a_DoGetClientSizeintPintP, wxFrameExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameExtDoSetClientSizeintintFunc a_DoSetClientSizeintint, wxFrameExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameExtEnableboolFunc a_Enablebool, wxFrameExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameExtGetClassInfoFunc a_GetClassInfo, wxFrameExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameExtGetContentProtectionFunc a_GetContentProtection, wxFrameExtGetEventHashTableFunc a_GetEventHashTable, wxFrameExtGetEventTableFunc a_GetEventTable, wxFrameExtGetLabelFunc a_GetLabel, wxFrameExtGetMenuBarFunc a_GetMenuBar, wxFrameExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameExtGetStatusBarFunc a_GetStatusBar, wxFrameExtGetTitleFunc a_GetTitle, wxFrameExtGetToolBarFunc a_GetToolBar, wxFrameExtIconizeboolFunc a_Iconizebool, wxFrameExtIsActiveFunc a_IsActive, wxFrameExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameExtIsFullScreenFunc a_IsFullScreen, wxFrameExtIsIconizedFunc a_IsIconized, wxFrameExtIsMaximizedFunc a_IsMaximized, wxFrameExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameExtIsTopLevelFunc a_IsTopLevel, wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameExtIsVisibleFunc a_IsVisible, wxFrameExtLayoutFunc a_Layout, wxFrameExtMaximizeboolFunc a_Maximizebool, wxFrameExtOSXIsModifiedFunc a_OSXIsModified, wxFrameExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameExtOnInternalIdleFunc a_OnInternalIdle, wxFrameExtPositionMenuBarFunc a_PositionMenuBar, wxFrameExtPositionStatusBarFunc a_PositionStatusBar, wxFrameExtPositionToolBarFunc a_PositionToolBar, wxFrameExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameExtRestoreFunc a_Restore, wxFrameExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameExtShowboolFunc a_Showbool, wxFrameExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrame() { m_wxFrameExtAttachMenuBarwxMenuBarP = a_AttachMenuBarwxMenuBarP; m_wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCR = a_CreateStatusBarintlongwxWindowIDwxStringCR; m_wxFrameExtCreateToolBarlongwxWindowIDwxStringCR = a_CreateToolBarlongwxWindowIDwxStringCR; @@ -1682,8 +1676,6 @@ public: m_wxFrameExtPositionToolBar = a_PositionToolBar; m_wxFrameExtRequestUserAttentionint = a_RequestUserAttentionint; m_wxFrameExtRestore = a_Restore; - m_wxFrameExtRestoreFieldwxStringCRintP = a_RestoreFieldwxStringCRintP; - m_wxFrameExtSaveFieldwxStringCRint = a_SaveFieldwxStringCRint; m_wxFrameExtSetContentProtectionwxContentProtection = a_SetContentProtectionwxContentProtection; m_wxFrameExtSetIconswxIconBundleCR = a_SetIconswxIconBundleCR; m_wxFrameExtSetLabelwxStringCR = a_SetLabelwxStringCR; diff --git a/wxheaders/wxext/frame_ext2.h b/wxheaders/wxext/frame_ext2.h deleted file mode 100644 index fe0e33d..0000000 --- a/wxheaders/wxext/frame_ext2.h +++ /dev/null @@ -1,1704 +0,0 @@ -#ifndef _WX_FRAME_H_EXT_ -#define _WX_FRAME_H_EXT_ - -#include -#include - -class wxFrameBaseExt; -typedef void (*wxFrameBaseExtAttachMenuBarwxMenuBarPFunc)(const wxFrameBaseExt* self, wxMenuBar* menubar); -typedef wxStatusBar* (*wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCRFunc)(const wxFrameBaseExt* self, int number, long style, wxWindowID winid, wxString const& name); -typedef wxToolBar* (*wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCRFunc)(const wxFrameBaseExt* self, long style, wxWindowID winid, wxString const& name); -typedef bool (*wxFrameBaseExtDestroyFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtDetachMenuBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtDoCentreintFunc)(const wxFrameBaseExt* self, int dir); -typedef void (*wxFrameBaseExtDoClientToScreenintPintPFunc)(const wxFrameBaseExt* self, int* x, int* y); -typedef void (*wxFrameBaseExtDoGetScreenPositionintPintPFunc)(const wxFrameBaseExt* self, int* x, int* y); -typedef void (*wxFrameBaseExtDoGiveHelpwxStringCRboolFunc)(const wxFrameBaseExt* self, wxString const& text, bool show); -typedef void (*wxFrameBaseExtDoMenuUpdateswxMenuPFunc)(const wxFrameBaseExt* self, wxMenu* menu); -typedef void (*wxFrameBaseExtDoScreenToClientintPintPFunc)(const wxFrameBaseExt* self, int* x, int* y); -typedef void (*wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventRFunc)(const wxFrameBaseExt* self, wxUpdateUIEvent& event); -typedef bool (*wxFrameBaseExtEnableCloseButtonboolFunc)(const wxFrameBaseExt* self, bool enable); -typedef bool (*wxFrameBaseExtEnableFullScreenViewboollongFunc)(const wxFrameBaseExt* self, bool enable, long style); -typedef bool (*wxFrameBaseExtEnableMaximizeButtonboolFunc)(const wxFrameBaseExt* self, bool enable); -typedef bool (*wxFrameBaseExtEnableMinimizeButtonboolFunc)(const wxFrameBaseExt* self, bool enable); -typedef wxMenuItem* (*wxFrameBaseExtFindItemInMenuBarintFunc)(const wxFrameBaseExt* self, int menuId); -typedef wxClassInfo* (*wxFrameBaseExtGetClassInfoFunc)(const wxFrameBaseExt* self); -typedef wxPoint (*wxFrameBaseExtGetClientAreaOriginFunc)(const wxFrameBaseExt* self); -typedef wxContentProtection (*wxFrameBaseExtGetContentProtectionFunc)(const wxFrameBaseExt* self); -typedef wxEventHashTable& (*wxFrameBaseExtGetEventHashTableFunc)(const wxFrameBaseExt* self); -typedef wxEventTable const* (*wxFrameBaseExtGetEventTableFunc)(const wxFrameBaseExt* self); -typedef wxString (*wxFrameBaseExtGetLabelFunc)(const wxFrameBaseExt* self); -typedef wxMenuBar* (*wxFrameBaseExtGetMenuBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintPFunc)(const wxFrameBaseExt* self, int* x, int* y, int* w, int* h); -typedef wxStatusBar* (*wxFrameBaseExtGetStatusBarFunc)(const wxFrameBaseExt* self); -typedef wxString (*wxFrameBaseExtGetTitleFunc)(const wxFrameBaseExt* self); -typedef wxToolBar* (*wxFrameBaseExtGetToolBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtIconizeboolFunc)(const wxFrameBaseExt* self, bool iconize); -typedef bool (*wxFrameBaseExtIsActiveFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsAlwaysMaximizedFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsClientAreaChildwxWindowCPFunc)(const wxFrameBaseExt* self, wxWindow const* child); -typedef bool (*wxFrameBaseExtIsFullScreenFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsIconizedFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsMaximizedFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsOneOfBarswxWindowCPFunc)(const wxFrameBaseExt* self, wxWindow const* param0); -typedef bool (*wxFrameBaseExtIsTopLevelFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc)(const wxFrameBaseExt* self, wxWindowBase::NavigationKind kind); -typedef bool (*wxFrameBaseExtIsVisibleFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtLayoutFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtMaximizeboolFunc)(const wxFrameBaseExt* self, bool maximize); -typedef bool (*wxFrameBaseExtOSXIsModifiedFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtOSXSetModifiedboolFunc)(const wxFrameBaseExt* self, bool modified); -typedef wxStatusBar* (*wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc)(const wxFrameBaseExt* self, int number, long style, wxWindowID winid, wxString const& name); -typedef wxToolBar* (*wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCRFunc)(const wxFrameBaseExt* self, long style, wxWindowID winid, wxString const& name); -typedef void (*wxFrameBaseExtOnInternalIdleFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtPositionMenuBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtPositionStatusBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtPositionToolBarFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtRequestUserAttentionintFunc)(const wxFrameBaseExt* self, int flags); -typedef void (*wxFrameBaseExtRestoreFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtSetContentProtectionwxContentProtectionFunc)(const wxFrameBaseExt* self, wxContentProtection contentProtection); -typedef void (*wxFrameBaseExtSetIconswxIconBundleCRFunc)(const wxFrameBaseExt* self, wxIconBundle const& icons); -typedef void (*wxFrameBaseExtSetLabelwxStringCRFunc)(const wxFrameBaseExt* self, wxString const& label); -typedef void (*wxFrameBaseExtSetMaxSizewxSizeCRFunc)(const wxFrameBaseExt* self, wxSize const& maxSize); -typedef void (*wxFrameBaseExtSetMenuBarwxMenuBarPFunc)(const wxFrameBaseExt* self, wxMenuBar* menubar); -typedef void (*wxFrameBaseExtSetMinSizewxSizeCRFunc)(const wxFrameBaseExt* self, wxSize const& minSize); -typedef void (*wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc)(const wxFrameBaseExt* self, wxString const& filename); -typedef void (*wxFrameBaseExtSetStatusBarwxStatusBarPFunc)(const wxFrameBaseExt* self, wxStatusBar* statBar); -typedef void (*wxFrameBaseExtSetStatusTextwxStringCRintFunc)(const wxFrameBaseExt* self, wxString const& text, int number); -typedef void (*wxFrameBaseExtSetStatusWidthsintintCBFunc)(const wxFrameBaseExt* self, int n, int const widths_field[]); -typedef void (*wxFrameBaseExtSetTitlewxStringCRFunc)(const wxFrameBaseExt* self, wxString const& title); -typedef void (*wxFrameBaseExtSetToolBarwxToolBarPFunc)(const wxFrameBaseExt* self, wxToolBar* toolbar); -typedef bool (*wxFrameBaseExtShouldPreventAppExitFunc)(const wxFrameBaseExt* self); -typedef bool (*wxFrameBaseExtShowFullScreenboollongFunc)(const wxFrameBaseExt* self, bool show, long style); -typedef void (*wxFrameBaseExtShowWithoutActivatingFunc)(const wxFrameBaseExt* self); -typedef void (*wxFrameBaseExtUpdateWindowUIlongFunc)(const wxFrameBaseExt* self, long flags); -typedef void* (*wxFrameBaseExtWXReservedTLW1voidPFunc)(const wxFrameBaseExt* self, void* param0); -typedef void* (*wxFrameBaseExtWXReservedTLW2voidPFunc)(const wxFrameBaseExt* self, void* param0); -typedef void* (*wxFrameBaseExtWXReservedTLW3voidPFunc)(const wxFrameBaseExt* self, void* param0); -class wxFrameExt; -typedef void (*wxFrameExtAttachMenuBarwxMenuBarPFunc)(const wxFrameExt* self, wxMenuBar* menubar); -typedef wxStatusBar* (*wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCRFunc)(const wxFrameExt* self, int number, long style, wxWindowID winid, wxString const& name); -typedef wxToolBar* (*wxFrameExtCreateToolBarlongwxWindowIDwxStringCRFunc)(const wxFrameExt* self, long style, wxWindowID winid, wxString const& name); -typedef bool (*wxFrameExtDestroyFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtDetachMenuBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtDoCentreintFunc)(const wxFrameExt* self, int dir); -typedef void (*wxFrameExtDoClientToScreenintPintPFunc)(const wxFrameExt* self, int* x, int* y); -typedef void (*wxFrameExtDoGetClientSizeintPintPFunc)(const wxFrameExt* self, int* width, int* height); -typedef void (*wxFrameExtDoGetScreenPositionintPintPFunc)(const wxFrameExt* self, int* x, int* y); -typedef void (*wxFrameExtDoGiveHelpwxStringCRboolFunc)(const wxFrameExt* self, wxString const& text, bool show); -typedef void (*wxFrameExtDoMenuUpdateswxMenuPFunc)(const wxFrameExt* self, wxMenu* menu); -typedef void (*wxFrameExtDoScreenToClientintPintPFunc)(const wxFrameExt* self, int* x, int* y); -typedef void (*wxFrameExtDoSetClientSizeintintFunc)(const wxFrameExt* self, int width, int height); -typedef void (*wxFrameExtDoUpdateWindowUIwxUpdateUIEventRFunc)(const wxFrameExt* self, wxUpdateUIEvent& event); -typedef bool (*wxFrameExtEnableboolFunc)(const wxFrameExt* self, bool enable); -typedef bool (*wxFrameExtEnableCloseButtonboolFunc)(const wxFrameExt* self, bool enable); -typedef bool (*wxFrameExtEnableFullScreenViewboollongFunc)(const wxFrameExt* self, bool enable, long style); -typedef bool (*wxFrameExtEnableMaximizeButtonboolFunc)(const wxFrameExt* self, bool enable); -typedef bool (*wxFrameExtEnableMinimizeButtonboolFunc)(const wxFrameExt* self, bool enable); -typedef wxMenuItem* (*wxFrameExtFindItemInMenuBarintFunc)(const wxFrameExt* self, int menuId); -typedef wxClassInfo* (*wxFrameExtGetClassInfoFunc)(const wxFrameExt* self); -typedef wxPoint (*wxFrameExtGetClientAreaOriginFunc)(const wxFrameExt* self); -typedef wxContentProtection (*wxFrameExtGetContentProtectionFunc)(const wxFrameExt* self); -typedef wxEventHashTable& (*wxFrameExtGetEventHashTableFunc)(const wxFrameExt* self); -typedef wxEventTable const* (*wxFrameExtGetEventTableFunc)(const wxFrameExt* self); -typedef wxString (*wxFrameExtGetLabelFunc)(const wxFrameExt* self); -typedef wxMenuBar* (*wxFrameExtGetMenuBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtGetRectForTopLevelChildrenintPintPintPintPFunc)(const wxFrameExt* self, int* x, int* y, int* w, int* h); -typedef wxStatusBar* (*wxFrameExtGetStatusBarFunc)(const wxFrameExt* self); -typedef wxString (*wxFrameExtGetTitleFunc)(const wxFrameExt* self); -typedef wxToolBar* (*wxFrameExtGetToolBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtIconizeboolFunc)(const wxFrameExt* self, bool iconize); -typedef bool (*wxFrameExtIsActiveFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsAlwaysMaximizedFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsClientAreaChildwxWindowCPFunc)(const wxFrameExt* self, wxWindow const* child); -typedef bool (*wxFrameExtIsFullScreenFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsIconizedFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsMaximizedFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsOneOfBarswxWindowCPFunc)(const wxFrameExt* self, wxWindow const* win); -typedef bool (*wxFrameExtIsTopLevelFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc)(const wxFrameExt* self, wxWindowBase::NavigationKind kind); -typedef bool (*wxFrameExtIsVisibleFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtLayoutFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtMaximizeboolFunc)(const wxFrameExt* self, bool maximize); -typedef bool (*wxFrameExtOSXIsModifiedFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtOSXSetModifiedboolFunc)(const wxFrameExt* self, bool modified); -typedef wxStatusBar* (*wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc)(const wxFrameExt* self, int number, long style, wxWindowID winid, wxString const& name); -typedef wxToolBar* (*wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCRFunc)(const wxFrameExt* self, long style, wxWindowID winid, wxString const& name); -typedef void (*wxFrameExtOnInternalIdleFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtPositionMenuBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtPositionStatusBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtPositionToolBarFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtRequestUserAttentionintFunc)(const wxFrameExt* self, int flags); -typedef void (*wxFrameExtRestoreFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtSetContentProtectionwxContentProtectionFunc)(const wxFrameExt* self, wxContentProtection contentProtection); -typedef void (*wxFrameExtSetIconswxIconBundleCRFunc)(const wxFrameExt* self, wxIconBundle const& icons); -typedef void (*wxFrameExtSetLabelwxStringCRFunc)(const wxFrameExt* self, wxString const& label); -typedef void (*wxFrameExtSetMaxSizewxSizeCRFunc)(const wxFrameExt* self, wxSize const& maxSize); -typedef void (*wxFrameExtSetMenuBarwxMenuBarPFunc)(const wxFrameExt* self, wxMenuBar* menubar); -typedef void (*wxFrameExtSetMinSizewxSizeCRFunc)(const wxFrameExt* self, wxSize const& minSize); -typedef void (*wxFrameExtSetRepresentedFilenamewxStringCRFunc)(const wxFrameExt* self, wxString const& filename); -typedef void (*wxFrameExtSetStatusBarwxStatusBarPFunc)(const wxFrameExt* self, wxStatusBar* statBar); -typedef void (*wxFrameExtSetStatusTextwxStringCRintFunc)(const wxFrameExt* self, wxString const& text, int number); -typedef void (*wxFrameExtSetStatusWidthsintintCBFunc)(const wxFrameExt* self, int n, int const widths_field[]); -typedef void (*wxFrameExtSetTitlewxStringCRFunc)(const wxFrameExt* self, wxString const& title); -typedef void (*wxFrameExtSetToolBarwxToolBarPFunc)(const wxFrameExt* self, wxToolBar* toolbar); -typedef bool (*wxFrameExtShouldPreventAppExitFunc)(const wxFrameExt* self); -typedef bool (*wxFrameExtShowboolFunc)(const wxFrameExt* self, bool show); -typedef bool (*wxFrameExtShowFullScreenboollongFunc)(const wxFrameExt* self, bool show, long style); -typedef void (*wxFrameExtShowWithoutActivatingFunc)(const wxFrameExt* self); -typedef void (*wxFrameExtUpdateWindowUIlongFunc)(const wxFrameExt* self, long flags); -typedef void* (*wxFrameExtWXReservedTLW1voidPFunc)(const wxFrameExt* self, void* param0); -typedef void* (*wxFrameExtWXReservedTLW2voidPFunc)(const wxFrameExt* self, void* param0); -typedef void* (*wxFrameExtWXReservedTLW3voidPFunc)(const wxFrameExt* self, void* param0); - -class wxFrameBaseExt: public wxFrameBase -{ -public: - wxFrameBaseExt(): wxFrameBase() { } - virtual ~wxFrameBaseExt() override { } - wxFrameBaseExtAttachMenuBarwxMenuBarPFunc m_wxFrameBaseExtAttachMenuBarwxMenuBarP = NULL; - virtual void AttachMenuBar(wxMenuBar* menubar) override - { - wxFrameBase::AttachMenuBar(menubar); - if (*m_wxFrameBaseExtAttachMenuBarwxMenuBarP != NULL){ - return m_wxFrameBaseExtAttachMenuBarwxMenuBarP(this, menubar); - } - } - wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCRFunc m_wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCR = NULL; - virtual wxStatusBar* CreateStatusBar(int number = 1, long style = (0x0010 | 0x0100 | 0x0020 | 0x00010000), wxWindowID winid = 0, wxString const& name = wxString::FromAscii(wxStatusLineNameStr)) override - { - wxStatusBar* res = wxFrameBase::CreateStatusBar(number, style, winid, name); - if (*m_wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCR(this, number, style, winid, name); - } - else { - return res; - } - } - wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCRFunc m_wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCR = NULL; - virtual wxToolBar* CreateToolBar(long style = -1, wxWindowID winid = wxID_ANY, wxString const& name = wxString::FromAscii(wxToolBarNameStr)) override - { - wxToolBar* res = wxFrameBase::CreateToolBar(style, winid, name); - if (*m_wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCR(this, style, winid, name); - } - else { - return res; - } - } - wxFrameBaseExtDestroyFunc m_wxFrameBaseExtDestroy = NULL; - virtual bool Destroy() override - { - bool res = wxFrameBase::Destroy(); - if (*m_wxFrameBaseExtDestroy != NULL){ - return m_wxFrameBaseExtDestroy(this); - } - else { - return res; - } - } - wxFrameBaseExtDetachMenuBarFunc m_wxFrameBaseExtDetachMenuBar = NULL; - virtual void DetachMenuBar() override - { - wxFrameBase::DetachMenuBar(); - if (*m_wxFrameBaseExtDetachMenuBar != NULL){ - return m_wxFrameBaseExtDetachMenuBar(this); - } - } - wxFrameBaseExtDoCentreintFunc m_wxFrameBaseExtDoCentreint = NULL; - virtual void DoCentre(int dir) override - { - wxFrameBase::DoCentre(dir); - if (*m_wxFrameBaseExtDoCentreint != NULL){ - return m_wxFrameBaseExtDoCentreint(this, dir); - } - } - wxFrameBaseExtDoClientToScreenintPintPFunc m_wxFrameBaseExtDoClientToScreenintPintP = NULL; - virtual void DoClientToScreen(int* x, int* y) const override - { - wxFrameBase::DoClientToScreen(x, y); - if (*m_wxFrameBaseExtDoClientToScreenintPintP != NULL){ - return m_wxFrameBaseExtDoClientToScreenintPintP(this, x, y); - } - } - wxFrameBaseExtDoGetScreenPositionintPintPFunc m_wxFrameBaseExtDoGetScreenPositionintPintP = NULL; - virtual void DoGetScreenPosition(int* x, int* y) const override - { - wxFrameBase::DoGetScreenPosition(x, y); - if (*m_wxFrameBaseExtDoGetScreenPositionintPintP != NULL){ - return m_wxFrameBaseExtDoGetScreenPositionintPintP(this, x, y); - } - } - wxFrameBaseExtDoGiveHelpwxStringCRboolFunc m_wxFrameBaseExtDoGiveHelpwxStringCRbool = NULL; - virtual void DoGiveHelp(wxString const& text, bool show) override - { - wxFrameBase::DoGiveHelp(text, show); - if (*m_wxFrameBaseExtDoGiveHelpwxStringCRbool != NULL){ - return m_wxFrameBaseExtDoGiveHelpwxStringCRbool(this, text, show); - } - } - wxFrameBaseExtDoMenuUpdateswxMenuPFunc m_wxFrameBaseExtDoMenuUpdateswxMenuP = NULL; - virtual void DoMenuUpdates(wxMenu* menu = __null) override - { - wxFrameBase::DoMenuUpdates(menu); - if (*m_wxFrameBaseExtDoMenuUpdateswxMenuP != NULL){ - return m_wxFrameBaseExtDoMenuUpdateswxMenuP(this, menu); - } - } - wxFrameBaseExtDoScreenToClientintPintPFunc m_wxFrameBaseExtDoScreenToClientintPintP = NULL; - virtual void DoScreenToClient(int* x, int* y) const override - { - wxFrameBase::DoScreenToClient(x, y); - if (*m_wxFrameBaseExtDoScreenToClientintPintP != NULL){ - return m_wxFrameBaseExtDoScreenToClientintPintP(this, x, y); - } - } - wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventRFunc m_wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventR = NULL; - virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) override - { - wxFrameBase::DoUpdateWindowUI(event); - if (*m_wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventR != NULL){ - return m_wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventR(this, event); - } - } - wxFrameBaseExtEnableCloseButtonboolFunc m_wxFrameBaseExtEnableCloseButtonbool = NULL; - virtual bool EnableCloseButton(bool enable = true) override - { - bool res = wxFrameBase::EnableCloseButton(enable); - if (*m_wxFrameBaseExtEnableCloseButtonbool != NULL){ - return m_wxFrameBaseExtEnableCloseButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameBaseExtEnableFullScreenViewboollongFunc m_wxFrameBaseExtEnableFullScreenViewboollong = NULL; - virtual bool EnableFullScreenView(bool enable = true, long style = wxFULLSCREEN_ALL) override - { - bool res = wxFrameBase::EnableFullScreenView(enable, style); - if (*m_wxFrameBaseExtEnableFullScreenViewboollong != NULL){ - return m_wxFrameBaseExtEnableFullScreenViewboollong(this, enable, style); - } - else { - return res; - } - } - wxFrameBaseExtEnableMaximizeButtonboolFunc m_wxFrameBaseExtEnableMaximizeButtonbool = NULL; - virtual bool EnableMaximizeButton(bool enable = true) override - { - bool res = wxFrameBase::EnableMaximizeButton(enable); - if (*m_wxFrameBaseExtEnableMaximizeButtonbool != NULL){ - return m_wxFrameBaseExtEnableMaximizeButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameBaseExtEnableMinimizeButtonboolFunc m_wxFrameBaseExtEnableMinimizeButtonbool = NULL; - virtual bool EnableMinimizeButton(bool enable = true) override - { - bool res = wxFrameBase::EnableMinimizeButton(enable); - if (*m_wxFrameBaseExtEnableMinimizeButtonbool != NULL){ - return m_wxFrameBaseExtEnableMinimizeButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameBaseExtFindItemInMenuBarintFunc m_wxFrameBaseExtFindItemInMenuBarint = NULL; - virtual wxMenuItem* FindItemInMenuBar(int menuId) const override - { - wxMenuItem* res = wxFrameBase::FindItemInMenuBar(menuId); - if (*m_wxFrameBaseExtFindItemInMenuBarint != NULL){ - return m_wxFrameBaseExtFindItemInMenuBarint(this, menuId); - } - else { - return res; - } - } - wxFrameBaseExtGetClassInfoFunc m_wxFrameBaseExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxFrameBase::GetClassInfo(); - if (*m_wxFrameBaseExtGetClassInfo != NULL){ - return m_wxFrameBaseExtGetClassInfo(this); - } - else { - return res; - } - } - wxFrameBaseExtGetClientAreaOriginFunc m_wxFrameBaseExtGetClientAreaOrigin = NULL; - virtual wxPoint GetClientAreaOrigin() const override - { - wxPoint res = wxFrameBase::GetClientAreaOrigin(); - if (*m_wxFrameBaseExtGetClientAreaOrigin != NULL){ - return m_wxFrameBaseExtGetClientAreaOrigin(this); - } - else { - return res; - } - } - wxFrameBaseExtGetContentProtectionFunc m_wxFrameBaseExtGetContentProtection = NULL; - virtual wxContentProtection GetContentProtection() const override - { - wxContentProtection res = wxFrameBase::GetContentProtection(); - if (*m_wxFrameBaseExtGetContentProtection != NULL){ - return m_wxFrameBaseExtGetContentProtection(this); - } - else { - return res; - } - } - wxFrameBaseExtGetEventHashTableFunc m_wxFrameBaseExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxFrameBase::GetEventHashTable(); - if (*m_wxFrameBaseExtGetEventHashTable != NULL){ - return m_wxFrameBaseExtGetEventHashTable(this); - } - else { - return res; - } - } - wxFrameBaseExtGetEventTableFunc m_wxFrameBaseExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxFrameBase::GetEventTable(); - if (*m_wxFrameBaseExtGetEventTable != NULL){ - return m_wxFrameBaseExtGetEventTable(this); - } - else { - return res; - } - } - wxFrameBaseExtGetLabelFunc m_wxFrameBaseExtGetLabel = NULL; - virtual wxString GetLabel() const override - { - wxString res = wxFrameBase::GetLabel(); - if (*m_wxFrameBaseExtGetLabel != NULL){ - return m_wxFrameBaseExtGetLabel(this); - } - else { - return res; - } - } - wxFrameBaseExtGetMenuBarFunc m_wxFrameBaseExtGetMenuBar = NULL; - virtual wxMenuBar* GetMenuBar() const override - { - wxMenuBar* res = wxFrameBase::GetMenuBar(); - if (*m_wxFrameBaseExtGetMenuBar != NULL){ - return m_wxFrameBaseExtGetMenuBar(this); - } - else { - return res; - } - } - wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintPFunc m_wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintP = NULL; - virtual void GetRectForTopLevelChildren(int* x, int* y, int* w, int* h) override - { - wxFrameBase::GetRectForTopLevelChildren(x, y, w, h); - if (*m_wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintP != NULL){ - return m_wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintP(this, x, y, w, h); - } - } - wxFrameBaseExtGetStatusBarFunc m_wxFrameBaseExtGetStatusBar = NULL; - virtual wxStatusBar* GetStatusBar() const override - { - wxStatusBar* res = wxFrameBase::GetStatusBar(); - if (*m_wxFrameBaseExtGetStatusBar != NULL){ - return m_wxFrameBaseExtGetStatusBar(this); - } - else { - return res; - } - } - wxFrameBaseExtGetTitleFunc m_wxFrameBaseExtGetTitle = NULL; - virtual wxString GetTitle() const override - { - wxString res = wxFrameBase::GetTitle(); - if (*m_wxFrameBaseExtGetTitle != NULL){ - return m_wxFrameBaseExtGetTitle(this); - } - else { - return res; - } - } - wxFrameBaseExtGetToolBarFunc m_wxFrameBaseExtGetToolBar = NULL; - virtual wxToolBar* GetToolBar() const override - { - wxToolBar* res = wxFrameBase::GetToolBar(); - if (*m_wxFrameBaseExtGetToolBar != NULL){ - return m_wxFrameBaseExtGetToolBar(this); - } - else { - return res; - } - } - wxFrameBaseExtIconizeboolFunc m_wxFrameBaseExtIconizebool = NULL; - virtual void Iconize(bool iconize = true) override - { - wxFrameBase::Iconize(iconize); - if (*m_wxFrameBaseExtIconizebool != NULL){ - return m_wxFrameBaseExtIconizebool(this, iconize); - } - } - wxFrameBaseExtIsActiveFunc m_wxFrameBaseExtIsActive = NULL; - virtual bool IsActive() override - { - bool res = wxFrameBase::IsActive(); - if (*m_wxFrameBaseExtIsActive != NULL){ - return m_wxFrameBaseExtIsActive(this); - } - else { - return res; - } - } - wxFrameBaseExtIsAlwaysMaximizedFunc m_wxFrameBaseExtIsAlwaysMaximized = NULL; - virtual bool IsAlwaysMaximized() const override - { - bool res = wxFrameBase::IsAlwaysMaximized(); - if (*m_wxFrameBaseExtIsAlwaysMaximized != NULL){ - return m_wxFrameBaseExtIsAlwaysMaximized(this); - } - else { - return res; - } - } - wxFrameBaseExtIsClientAreaChildwxWindowCPFunc m_wxFrameBaseExtIsClientAreaChildwxWindowCP = NULL; - virtual bool IsClientAreaChild(wxWindow const* child) const override - { - bool res = wxFrameBase::IsClientAreaChild(child); - if (*m_wxFrameBaseExtIsClientAreaChildwxWindowCP != NULL){ - return m_wxFrameBaseExtIsClientAreaChildwxWindowCP(this, child); - } - else { - return res; - } - } - wxFrameBaseExtIsFullScreenFunc m_wxFrameBaseExtIsFullScreen = NULL; - virtual bool IsFullScreen() const override - { - bool res = wxFrameBase::IsFullScreen(); - if (*m_wxFrameBaseExtIsFullScreen != NULL){ - return m_wxFrameBaseExtIsFullScreen(this); - } - else { - return res; - } - } - wxFrameBaseExtIsIconizedFunc m_wxFrameBaseExtIsIconized = NULL; - virtual bool IsIconized() const override - { - bool res = wxFrameBase::IsIconized(); - if (*m_wxFrameBaseExtIsIconized != NULL){ - return m_wxFrameBaseExtIsIconized(this); - } - else { - return res; - } - } - wxFrameBaseExtIsMaximizedFunc m_wxFrameBaseExtIsMaximized = NULL; - virtual bool IsMaximized() const override - { - bool res = wxFrameBase::IsMaximized(); - if (*m_wxFrameBaseExtIsMaximized != NULL){ - return m_wxFrameBaseExtIsMaximized(this); - } - else { - return res; - } - } - wxFrameBaseExtIsOneOfBarswxWindowCPFunc m_wxFrameBaseExtIsOneOfBarswxWindowCP = NULL; - virtual bool IsOneOfBars(wxWindow const* param0) const override - { - bool res = wxFrameBase::IsOneOfBars(param0); - if (*m_wxFrameBaseExtIsOneOfBarswxWindowCP != NULL){ - return m_wxFrameBaseExtIsOneOfBarswxWindowCP(this, param0); - } - else { - return res; - } - } - wxFrameBaseExtIsTopLevelFunc m_wxFrameBaseExtIsTopLevel = NULL; - virtual bool IsTopLevel() const override - { - bool res = wxFrameBase::IsTopLevel(); - if (*m_wxFrameBaseExtIsTopLevel != NULL){ - return m_wxFrameBaseExtIsTopLevel(this); - } - else { - return res; - } - } - wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc m_wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKind = NULL; - virtual bool IsTopNavigationDomain(wxWindowBase::NavigationKind kind) const override - { - bool res = wxFrameBase::IsTopNavigationDomain(kind); - if (*m_wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKind != NULL){ - return m_wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKind(this, kind); - } - else { - return res; - } - } - wxFrameBaseExtIsVisibleFunc m_wxFrameBaseExtIsVisible = NULL; - virtual bool IsVisible() const override - { - bool res = wxFrameBase::IsVisible(); - if (*m_wxFrameBaseExtIsVisible != NULL){ - return m_wxFrameBaseExtIsVisible(this); - } - else { - return res; - } - } - wxFrameBaseExtLayoutFunc m_wxFrameBaseExtLayout = NULL; - virtual bool Layout() override - { - bool res = wxFrameBase::Layout(); - if (*m_wxFrameBaseExtLayout != NULL){ - return m_wxFrameBaseExtLayout(this); - } - else { - return res; - } - } - wxFrameBaseExtMaximizeboolFunc m_wxFrameBaseExtMaximizebool = NULL; - virtual void Maximize(bool maximize = true) override - { - wxFrameBase::Maximize(maximize); - if (*m_wxFrameBaseExtMaximizebool != NULL){ - return m_wxFrameBaseExtMaximizebool(this, maximize); - } - } - wxFrameBaseExtOSXIsModifiedFunc m_wxFrameBaseExtOSXIsModified = NULL; - virtual bool OSXIsModified() const override - { - bool res = wxFrameBase::OSXIsModified(); - if (*m_wxFrameBaseExtOSXIsModified != NULL){ - return m_wxFrameBaseExtOSXIsModified(this); - } - else { - return res; - } - } - wxFrameBaseExtOSXSetModifiedboolFunc m_wxFrameBaseExtOSXSetModifiedbool = NULL; - virtual void OSXSetModified(bool modified) override - { - wxFrameBase::OSXSetModified(modified); - if (*m_wxFrameBaseExtOSXSetModifiedbool != NULL){ - return m_wxFrameBaseExtOSXSetModifiedbool(this, modified); - } - } - wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc m_wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCR = NULL; - virtual wxStatusBar* OnCreateStatusBar(int number, long style, wxWindowID winid, wxString const& name) override - { - wxStatusBar* res = wxFrameBase::OnCreateStatusBar(number, style, winid, name); - if (*m_wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCR(this, number, style, winid, name); - } - else { - return res; - } - } - wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCRFunc m_wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCR = NULL; - virtual wxToolBar* OnCreateToolBar(long style, wxWindowID winid, wxString const& name) override - { - wxToolBar* res = wxFrameBase::OnCreateToolBar(style, winid, name); - if (*m_wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCR(this, style, winid, name); - } - else { - return res; - } - } - wxFrameBaseExtOnInternalIdleFunc m_wxFrameBaseExtOnInternalIdle = NULL; - virtual void OnInternalIdle() override - { - wxFrameBase::OnInternalIdle(); - if (*m_wxFrameBaseExtOnInternalIdle != NULL){ - return m_wxFrameBaseExtOnInternalIdle(this); - } - } - wxFrameBaseExtPositionMenuBarFunc m_wxFrameBaseExtPositionMenuBar = NULL; - virtual void PositionMenuBar() override - { - wxFrameBase::PositionMenuBar(); - if (*m_wxFrameBaseExtPositionMenuBar != NULL){ - return m_wxFrameBaseExtPositionMenuBar(this); - } - } - wxFrameBaseExtPositionStatusBarFunc m_wxFrameBaseExtPositionStatusBar = NULL; - virtual void PositionStatusBar() override - { - wxFrameBase::PositionStatusBar(); - if (*m_wxFrameBaseExtPositionStatusBar != NULL){ - return m_wxFrameBaseExtPositionStatusBar(this); - } - } - wxFrameBaseExtPositionToolBarFunc m_wxFrameBaseExtPositionToolBar = NULL; - virtual void PositionToolBar() override - { - wxFrameBase::PositionToolBar(); - if (*m_wxFrameBaseExtPositionToolBar != NULL){ - return m_wxFrameBaseExtPositionToolBar(this); - } - } - wxFrameBaseExtRequestUserAttentionintFunc m_wxFrameBaseExtRequestUserAttentionint = NULL; - virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO) override - { - wxFrameBase::RequestUserAttention(flags); - if (*m_wxFrameBaseExtRequestUserAttentionint != NULL){ - return m_wxFrameBaseExtRequestUserAttentionint(this, flags); - } - } - wxFrameBaseExtRestoreFunc m_wxFrameBaseExtRestore = NULL; - virtual void Restore() override - { - wxFrameBase::Restore(); - if (*m_wxFrameBaseExtRestore != NULL){ - return m_wxFrameBaseExtRestore(this); - } - } - wxFrameBaseExtSetContentProtectionwxContentProtectionFunc m_wxFrameBaseExtSetContentProtectionwxContentProtection = NULL; - virtual bool SetContentProtection(wxContentProtection contentProtection) override - { - bool res = wxFrameBase::SetContentProtection(contentProtection); - if (*m_wxFrameBaseExtSetContentProtectionwxContentProtection != NULL){ - return m_wxFrameBaseExtSetContentProtectionwxContentProtection(this, contentProtection); - } - else { - return res; - } - } - wxFrameBaseExtSetIconswxIconBundleCRFunc m_wxFrameBaseExtSetIconswxIconBundleCR = NULL; - virtual void SetIcons(wxIconBundle const& icons) override - { - wxFrameBase::SetIcons(icons); - if (*m_wxFrameBaseExtSetIconswxIconBundleCR != NULL){ - return m_wxFrameBaseExtSetIconswxIconBundleCR(this, icons); - } - } - wxFrameBaseExtSetLabelwxStringCRFunc m_wxFrameBaseExtSetLabelwxStringCR = NULL; - virtual void SetLabel(wxString const& label) override - { - wxFrameBase::SetLabel(label); - if (*m_wxFrameBaseExtSetLabelwxStringCR != NULL){ - return m_wxFrameBaseExtSetLabelwxStringCR(this, label); - } - } - wxFrameBaseExtSetMaxSizewxSizeCRFunc m_wxFrameBaseExtSetMaxSizewxSizeCR = NULL; - virtual void SetMaxSize(wxSize const& maxSize) override - { - wxFrameBase::SetMaxSize(maxSize); - if (*m_wxFrameBaseExtSetMaxSizewxSizeCR != NULL){ - return m_wxFrameBaseExtSetMaxSizewxSizeCR(this, maxSize); - } - } - wxFrameBaseExtSetMenuBarwxMenuBarPFunc m_wxFrameBaseExtSetMenuBarwxMenuBarP = NULL; - virtual void SetMenuBar(wxMenuBar* menubar) override - { - wxFrameBase::SetMenuBar(menubar); - if (*m_wxFrameBaseExtSetMenuBarwxMenuBarP != NULL){ - return m_wxFrameBaseExtSetMenuBarwxMenuBarP(this, menubar); - } - } - wxFrameBaseExtSetMinSizewxSizeCRFunc m_wxFrameBaseExtSetMinSizewxSizeCR = NULL; - virtual void SetMinSize(wxSize const& minSize) override - { - wxFrameBase::SetMinSize(minSize); - if (*m_wxFrameBaseExtSetMinSizewxSizeCR != NULL){ - return m_wxFrameBaseExtSetMinSizewxSizeCR(this, minSize); - } - } - wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc m_wxFrameBaseExtSetRepresentedFilenamewxStringCR = NULL; - virtual void SetRepresentedFilename(wxString const& filename) override - { - wxFrameBase::SetRepresentedFilename(filename); - if (*m_wxFrameBaseExtSetRepresentedFilenamewxStringCR != NULL){ - return m_wxFrameBaseExtSetRepresentedFilenamewxStringCR(this, filename); - } - } - wxFrameBaseExtSetStatusBarwxStatusBarPFunc m_wxFrameBaseExtSetStatusBarwxStatusBarP = NULL; - virtual void SetStatusBar(wxStatusBar* statBar) override - { - wxFrameBase::SetStatusBar(statBar); - if (*m_wxFrameBaseExtSetStatusBarwxStatusBarP != NULL){ - return m_wxFrameBaseExtSetStatusBarwxStatusBarP(this, statBar); - } - } - wxFrameBaseExtSetStatusTextwxStringCRintFunc m_wxFrameBaseExtSetStatusTextwxStringCRint = NULL; - virtual void SetStatusText(wxString const& text, int number = 0) override - { - wxFrameBase::SetStatusText(text, number); - if (*m_wxFrameBaseExtSetStatusTextwxStringCRint != NULL){ - return m_wxFrameBaseExtSetStatusTextwxStringCRint(this, text, number); - } - } - wxFrameBaseExtSetStatusWidthsintintCBFunc m_wxFrameBaseExtSetStatusWidthsintintCB = NULL; - virtual void SetStatusWidths(int n, int const widths_field[]) override - { - wxFrameBase::SetStatusWidths(n, widths_field); - if (*m_wxFrameBaseExtSetStatusWidthsintintCB != NULL){ - return m_wxFrameBaseExtSetStatusWidthsintintCB(this, n, widths_field); - } - } - wxFrameBaseExtSetTitlewxStringCRFunc m_wxFrameBaseExtSetTitlewxStringCR = NULL; - virtual void SetTitle(wxString const& title) override - { - wxFrameBase::SetTitle(title); - if (*m_wxFrameBaseExtSetTitlewxStringCR != NULL){ - return m_wxFrameBaseExtSetTitlewxStringCR(this, title); - } - } - wxFrameBaseExtSetToolBarwxToolBarPFunc m_wxFrameBaseExtSetToolBarwxToolBarP = NULL; - virtual void SetToolBar(wxToolBar* toolbar) override - { - wxFrameBase::SetToolBar(toolbar); - if (*m_wxFrameBaseExtSetToolBarwxToolBarP != NULL){ - return m_wxFrameBaseExtSetToolBarwxToolBarP(this, toolbar); - } - } - wxFrameBaseExtShouldPreventAppExitFunc m_wxFrameBaseExtShouldPreventAppExit = NULL; - virtual bool ShouldPreventAppExit() const override - { - bool res = wxFrameBase::ShouldPreventAppExit(); - if (*m_wxFrameBaseExtShouldPreventAppExit != NULL){ - return m_wxFrameBaseExtShouldPreventAppExit(this); - } - else { - return res; - } - } - wxFrameBaseExtShowFullScreenboollongFunc m_wxFrameBaseExtShowFullScreenboollong = NULL; - virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) override - { - bool res = wxFrameBase::ShowFullScreen(show, style); - if (*m_wxFrameBaseExtShowFullScreenboollong != NULL){ - return m_wxFrameBaseExtShowFullScreenboollong(this, show, style); - } - else { - return res; - } - } - wxFrameBaseExtShowWithoutActivatingFunc m_wxFrameBaseExtShowWithoutActivating = NULL; - virtual void ShowWithoutActivating() override - { - wxFrameBase::ShowWithoutActivating(); - if (*m_wxFrameBaseExtShowWithoutActivating != NULL){ - return m_wxFrameBaseExtShowWithoutActivating(this); - } - } - wxFrameBaseExtUpdateWindowUIlongFunc m_wxFrameBaseExtUpdateWindowUIlong = NULL; - virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE) override - { - wxFrameBase::UpdateWindowUI(flags); - if (*m_wxFrameBaseExtUpdateWindowUIlong != NULL){ - return m_wxFrameBaseExtUpdateWindowUIlong(this, flags); - } - } - wxFrameBaseExtWXReservedTLW1voidPFunc m_wxFrameBaseExtWXReservedTLW1voidP = NULL; - virtual void* WXReservedTLW1(void* param0) override - { - void* res = wxFrameBase::WXReservedTLW1(param0); - if (*m_wxFrameBaseExtWXReservedTLW1voidP != NULL){ - return m_wxFrameBaseExtWXReservedTLW1voidP(this, param0); - } - else { - return res; - } - } - wxFrameBaseExtWXReservedTLW2voidPFunc m_wxFrameBaseExtWXReservedTLW2voidP = NULL; - virtual void* WXReservedTLW2(void* param0) override - { - void* res = wxFrameBase::WXReservedTLW2(param0); - if (*m_wxFrameBaseExtWXReservedTLW2voidP != NULL){ - return m_wxFrameBaseExtWXReservedTLW2voidP(this, param0); - } - else { - return res; - } - } - wxFrameBaseExtWXReservedTLW3voidPFunc m_wxFrameBaseExtWXReservedTLW3voidP = NULL; - virtual void* WXReservedTLW3(void* param0) override - { - void* res = wxFrameBase::WXReservedTLW3(param0); - if (*m_wxFrameBaseExtWXReservedTLW3voidP != NULL){ - return m_wxFrameBaseExtWXReservedTLW3voidP(this, param0); - } - else { - return res; - } - } - wxFrameBaseExt(wxFrameBaseExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtDestroyFunc a_Destroy, wxFrameBaseExtDetachMenuBarFunc a_DetachMenuBar, wxFrameBaseExtDoCentreintFunc a_DoCentreint, wxFrameBaseExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameBaseExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameBaseExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameBaseExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameBaseExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameBaseExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameBaseExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameBaseExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameBaseExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameBaseExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameBaseExtGetClassInfoFunc a_GetClassInfo, wxFrameBaseExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameBaseExtGetContentProtectionFunc a_GetContentProtection, wxFrameBaseExtGetEventHashTableFunc a_GetEventHashTable, wxFrameBaseExtGetEventTableFunc a_GetEventTable, wxFrameBaseExtGetLabelFunc a_GetLabel, wxFrameBaseExtGetMenuBarFunc a_GetMenuBar, wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameBaseExtGetStatusBarFunc a_GetStatusBar, wxFrameBaseExtGetTitleFunc a_GetTitle, wxFrameBaseExtGetToolBarFunc a_GetToolBar, wxFrameBaseExtIconizeboolFunc a_Iconizebool, wxFrameBaseExtIsActiveFunc a_IsActive, wxFrameBaseExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameBaseExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameBaseExtIsFullScreenFunc a_IsFullScreen, wxFrameBaseExtIsIconizedFunc a_IsIconized, wxFrameBaseExtIsMaximizedFunc a_IsMaximized, wxFrameBaseExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameBaseExtIsTopLevelFunc a_IsTopLevel, wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameBaseExtIsVisibleFunc a_IsVisible, wxFrameBaseExtLayoutFunc a_Layout, wxFrameBaseExtMaximizeboolFunc a_Maximizebool, wxFrameBaseExtOSXIsModifiedFunc a_OSXIsModified, wxFrameBaseExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameBaseExtOnInternalIdleFunc a_OnInternalIdle, wxFrameBaseExtPositionMenuBarFunc a_PositionMenuBar, wxFrameBaseExtPositionStatusBarFunc a_PositionStatusBar, wxFrameBaseExtPositionToolBarFunc a_PositionToolBar, wxFrameBaseExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameBaseExtRestoreFunc a_Restore, wxFrameBaseExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameBaseExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameBaseExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameBaseExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameBaseExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameBaseExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameBaseExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameBaseExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameBaseExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameBaseExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameBaseExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameBaseExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameBaseExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameBaseExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameBaseExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameBaseExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameBaseExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameBaseExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameBaseExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrameBase() { - m_wxFrameBaseExtAttachMenuBarwxMenuBarP = a_AttachMenuBarwxMenuBarP; - m_wxFrameBaseExtCreateStatusBarintlongwxWindowIDwxStringCR = a_CreateStatusBarintlongwxWindowIDwxStringCR; - m_wxFrameBaseExtCreateToolBarlongwxWindowIDwxStringCR = a_CreateToolBarlongwxWindowIDwxStringCR; - m_wxFrameBaseExtDestroy = a_Destroy; - m_wxFrameBaseExtDetachMenuBar = a_DetachMenuBar; - m_wxFrameBaseExtDoCentreint = a_DoCentreint; - m_wxFrameBaseExtDoClientToScreenintPintP = a_DoClientToScreenintPintP; - m_wxFrameBaseExtDoGetScreenPositionintPintP = a_DoGetScreenPositionintPintP; - m_wxFrameBaseExtDoGiveHelpwxStringCRbool = a_DoGiveHelpwxStringCRbool; - m_wxFrameBaseExtDoMenuUpdateswxMenuP = a_DoMenuUpdateswxMenuP; - m_wxFrameBaseExtDoScreenToClientintPintP = a_DoScreenToClientintPintP; - m_wxFrameBaseExtDoUpdateWindowUIwxUpdateUIEventR = a_DoUpdateWindowUIwxUpdateUIEventR; - m_wxFrameBaseExtEnableCloseButtonbool = a_EnableCloseButtonbool; - m_wxFrameBaseExtEnableFullScreenViewboollong = a_EnableFullScreenViewboollong; - m_wxFrameBaseExtEnableMaximizeButtonbool = a_EnableMaximizeButtonbool; - m_wxFrameBaseExtEnableMinimizeButtonbool = a_EnableMinimizeButtonbool; - m_wxFrameBaseExtFindItemInMenuBarint = a_FindItemInMenuBarint; - m_wxFrameBaseExtGetClassInfo = a_GetClassInfo; - m_wxFrameBaseExtGetClientAreaOrigin = a_GetClientAreaOrigin; - m_wxFrameBaseExtGetContentProtection = a_GetContentProtection; - m_wxFrameBaseExtGetEventHashTable = a_GetEventHashTable; - m_wxFrameBaseExtGetEventTable = a_GetEventTable; - m_wxFrameBaseExtGetLabel = a_GetLabel; - m_wxFrameBaseExtGetMenuBar = a_GetMenuBar; - m_wxFrameBaseExtGetRectForTopLevelChildrenintPintPintPintP = a_GetRectForTopLevelChildrenintPintPintPintP; - m_wxFrameBaseExtGetStatusBar = a_GetStatusBar; - m_wxFrameBaseExtGetTitle = a_GetTitle; - m_wxFrameBaseExtGetToolBar = a_GetToolBar; - m_wxFrameBaseExtIconizebool = a_Iconizebool; - m_wxFrameBaseExtIsActive = a_IsActive; - m_wxFrameBaseExtIsAlwaysMaximized = a_IsAlwaysMaximized; - m_wxFrameBaseExtIsClientAreaChildwxWindowCP = a_IsClientAreaChildwxWindowCP; - m_wxFrameBaseExtIsFullScreen = a_IsFullScreen; - m_wxFrameBaseExtIsIconized = a_IsIconized; - m_wxFrameBaseExtIsMaximized = a_IsMaximized; - m_wxFrameBaseExtIsOneOfBarswxWindowCP = a_IsOneOfBarswxWindowCP; - m_wxFrameBaseExtIsTopLevel = a_IsTopLevel; - m_wxFrameBaseExtIsTopNavigationDomainwxWindowBaseNNavigationKind = a_IsTopNavigationDomainwxWindowBaseNNavigationKind; - m_wxFrameBaseExtIsVisible = a_IsVisible; - m_wxFrameBaseExtLayout = a_Layout; - m_wxFrameBaseExtMaximizebool = a_Maximizebool; - m_wxFrameBaseExtOSXIsModified = a_OSXIsModified; - m_wxFrameBaseExtOSXSetModifiedbool = a_OSXSetModifiedbool; - m_wxFrameBaseExtOnCreateStatusBarintlongwxWindowIDwxStringCR = a_OnCreateStatusBarintlongwxWindowIDwxStringCR; - m_wxFrameBaseExtOnCreateToolBarlongwxWindowIDwxStringCR = a_OnCreateToolBarlongwxWindowIDwxStringCR; - m_wxFrameBaseExtOnInternalIdle = a_OnInternalIdle; - m_wxFrameBaseExtPositionMenuBar = a_PositionMenuBar; - m_wxFrameBaseExtPositionStatusBar = a_PositionStatusBar; - m_wxFrameBaseExtPositionToolBar = a_PositionToolBar; - m_wxFrameBaseExtRequestUserAttentionint = a_RequestUserAttentionint; - m_wxFrameBaseExtRestore = a_Restore; - m_wxFrameBaseExtSetContentProtectionwxContentProtection = a_SetContentProtectionwxContentProtection; - m_wxFrameBaseExtSetIconswxIconBundleCR = a_SetIconswxIconBundleCR; - m_wxFrameBaseExtSetLabelwxStringCR = a_SetLabelwxStringCR; - m_wxFrameBaseExtSetMaxSizewxSizeCR = a_SetMaxSizewxSizeCR; - m_wxFrameBaseExtSetMenuBarwxMenuBarP = a_SetMenuBarwxMenuBarP; - m_wxFrameBaseExtSetMinSizewxSizeCR = a_SetMinSizewxSizeCR; - m_wxFrameBaseExtSetRepresentedFilenamewxStringCR = a_SetRepresentedFilenamewxStringCR; - m_wxFrameBaseExtSetStatusBarwxStatusBarP = a_SetStatusBarwxStatusBarP; - m_wxFrameBaseExtSetStatusTextwxStringCRint = a_SetStatusTextwxStringCRint; - m_wxFrameBaseExtSetStatusWidthsintintCB = a_SetStatusWidthsintintCB; - m_wxFrameBaseExtSetTitlewxStringCR = a_SetTitlewxStringCR; - m_wxFrameBaseExtSetToolBarwxToolBarP = a_SetToolBarwxToolBarP; - m_wxFrameBaseExtShouldPreventAppExit = a_ShouldPreventAppExit; - m_wxFrameBaseExtShowFullScreenboollong = a_ShowFullScreenboollong; - m_wxFrameBaseExtShowWithoutActivating = a_ShowWithoutActivating; - m_wxFrameBaseExtUpdateWindowUIlong = a_UpdateWindowUIlong; - m_wxFrameBaseExtWXReservedTLW1voidP = a_WXReservedTLW1voidP; - m_wxFrameBaseExtWXReservedTLW2voidP = a_WXReservedTLW2voidP; - m_wxFrameBaseExtWXReservedTLW3voidP = a_WXReservedTLW3voidP; - } -}; - -class wxFrameExt: public wxFrame -{ -public: - wxFrameExt(): wxFrame() { } - wxFrameExt(wxWindow* parent, wxWindowID id, wxString const& title, wxPoint const& pos = wxDefaultPosition, wxSize const& size = wxDefaultSize, long style = (0x0800 | 0x0040 | 0x0400 | 0x0200 | 0x1000 | 0x20000000 | 0x00400000), wxString const& name = wxString::FromAscii(wxFrameNameStr)): wxFrame(parent, id, title, pos, size, style, name) { } - wxFrameExtAttachMenuBarwxMenuBarPFunc m_wxFrameExtAttachMenuBarwxMenuBarP = NULL; - virtual void AttachMenuBar(wxMenuBar* menubar) override - { - wxFrame::AttachMenuBar(menubar); - if (*m_wxFrameExtAttachMenuBarwxMenuBarP != NULL){ - return m_wxFrameExtAttachMenuBarwxMenuBarP(this, menubar); - } - } - wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCRFunc m_wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCR = NULL; - virtual wxStatusBar* CreateStatusBar(int number = 1, long style = (0x0010 | 0x0100 | 0x0020 | 0x00010000), wxWindowID winid = 0, wxString const& name = wxString::FromAscii(wxStatusLineNameStr)) override - { - wxStatusBar* res = wxFrame::CreateStatusBar(number, style, winid, name); - if (*m_wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCR(this, number, style, winid, name); - } - else { - return res; - } - } - wxFrameExtCreateToolBarlongwxWindowIDwxStringCRFunc m_wxFrameExtCreateToolBarlongwxWindowIDwxStringCR = NULL; - virtual wxToolBar* CreateToolBar(long style = -1, wxWindowID winid = wxID_ANY, wxString const& name = wxString::FromAscii(wxToolBarNameStr)) override - { - wxToolBar* res = wxFrame::CreateToolBar(style, winid, name); - if (*m_wxFrameExtCreateToolBarlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameExtCreateToolBarlongwxWindowIDwxStringCR(this, style, winid, name); - } - else { - return res; - } - } - wxFrameExtDestroyFunc m_wxFrameExtDestroy = NULL; - virtual bool Destroy() override - { - bool res = wxFrame::Destroy(); - if (*m_wxFrameExtDestroy != NULL){ - return m_wxFrameExtDestroy(this); - } - else { - return res; - } - } - wxFrameExtDetachMenuBarFunc m_wxFrameExtDetachMenuBar = NULL; - virtual void DetachMenuBar() override - { - wxFrame::DetachMenuBar(); - if (*m_wxFrameExtDetachMenuBar != NULL){ - return m_wxFrameExtDetachMenuBar(this); - } - } - wxFrameExtDoCentreintFunc m_wxFrameExtDoCentreint = NULL; - virtual void DoCentre(int dir) override - { - wxFrame::DoCentre(dir); - if (*m_wxFrameExtDoCentreint != NULL){ - return m_wxFrameExtDoCentreint(this, dir); - } - } - wxFrameExtDoClientToScreenintPintPFunc m_wxFrameExtDoClientToScreenintPintP = NULL; - virtual void DoClientToScreen(int* x, int* y) const override - { - wxFrame::DoClientToScreen(x, y); - if (*m_wxFrameExtDoClientToScreenintPintP != NULL){ - return m_wxFrameExtDoClientToScreenintPintP(this, x, y); - } - } - wxFrameExtDoGetClientSizeintPintPFunc m_wxFrameExtDoGetClientSizeintPintP = NULL; - virtual void DoGetClientSize(int* width, int* height) const override - { - wxFrame::DoGetClientSize(width, height); - if (*m_wxFrameExtDoGetClientSizeintPintP != NULL){ - return m_wxFrameExtDoGetClientSizeintPintP(this, width, height); - } - } - wxFrameExtDoGetScreenPositionintPintPFunc m_wxFrameExtDoGetScreenPositionintPintP = NULL; - virtual void DoGetScreenPosition(int* x, int* y) const override - { - wxFrame::DoGetScreenPosition(x, y); - if (*m_wxFrameExtDoGetScreenPositionintPintP != NULL){ - return m_wxFrameExtDoGetScreenPositionintPintP(this, x, y); - } - } - wxFrameExtDoGiveHelpwxStringCRboolFunc m_wxFrameExtDoGiveHelpwxStringCRbool = NULL; - virtual void DoGiveHelp(wxString const& text, bool show) override - { - wxFrame::DoGiveHelp(text, show); - if (*m_wxFrameExtDoGiveHelpwxStringCRbool != NULL){ - return m_wxFrameExtDoGiveHelpwxStringCRbool(this, text, show); - } - } - wxFrameExtDoMenuUpdateswxMenuPFunc m_wxFrameExtDoMenuUpdateswxMenuP = NULL; - virtual void DoMenuUpdates(wxMenu* menu = __null) override - { - wxFrame::DoMenuUpdates(menu); - if (*m_wxFrameExtDoMenuUpdateswxMenuP != NULL){ - return m_wxFrameExtDoMenuUpdateswxMenuP(this, menu); - } - } - wxFrameExtDoScreenToClientintPintPFunc m_wxFrameExtDoScreenToClientintPintP = NULL; - virtual void DoScreenToClient(int* x, int* y) const override - { - wxFrame::DoScreenToClient(x, y); - if (*m_wxFrameExtDoScreenToClientintPintP != NULL){ - return m_wxFrameExtDoScreenToClientintPintP(this, x, y); - } - } - wxFrameExtDoSetClientSizeintintFunc m_wxFrameExtDoSetClientSizeintint = NULL; - virtual void DoSetClientSize(int width, int height) override - { - wxFrame::DoSetClientSize(width, height); - if (*m_wxFrameExtDoSetClientSizeintint != NULL){ - return m_wxFrameExtDoSetClientSizeintint(this, width, height); - } - } - wxFrameExtDoUpdateWindowUIwxUpdateUIEventRFunc m_wxFrameExtDoUpdateWindowUIwxUpdateUIEventR = NULL; - virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) override - { - wxFrame::DoUpdateWindowUI(event); - if (*m_wxFrameExtDoUpdateWindowUIwxUpdateUIEventR != NULL){ - return m_wxFrameExtDoUpdateWindowUIwxUpdateUIEventR(this, event); - } - } - wxFrameExtEnableboolFunc m_wxFrameExtEnablebool = NULL; - virtual bool Enable(bool enable = true) override - { - bool res = wxFrame::Enable(enable); - if (*m_wxFrameExtEnablebool != NULL){ - return m_wxFrameExtEnablebool(this, enable); - } - else { - return res; - } - } - wxFrameExtEnableCloseButtonboolFunc m_wxFrameExtEnableCloseButtonbool = NULL; - virtual bool EnableCloseButton(bool enable = true) override - { - bool res = wxFrame::EnableCloseButton(enable); - if (*m_wxFrameExtEnableCloseButtonbool != NULL){ - return m_wxFrameExtEnableCloseButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameExtEnableFullScreenViewboollongFunc m_wxFrameExtEnableFullScreenViewboollong = NULL; - virtual bool EnableFullScreenView(bool enable = true, long style = wxFULLSCREEN_ALL) override - { - bool res = wxFrame::EnableFullScreenView(enable, style); - if (*m_wxFrameExtEnableFullScreenViewboollong != NULL){ - return m_wxFrameExtEnableFullScreenViewboollong(this, enable, style); - } - else { - return res; - } - } - wxFrameExtEnableMaximizeButtonboolFunc m_wxFrameExtEnableMaximizeButtonbool = NULL; - virtual bool EnableMaximizeButton(bool enable = true) override - { - bool res = wxFrame::EnableMaximizeButton(enable); - if (*m_wxFrameExtEnableMaximizeButtonbool != NULL){ - return m_wxFrameExtEnableMaximizeButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameExtEnableMinimizeButtonboolFunc m_wxFrameExtEnableMinimizeButtonbool = NULL; - virtual bool EnableMinimizeButton(bool enable = true) override - { - bool res = wxFrame::EnableMinimizeButton(enable); - if (*m_wxFrameExtEnableMinimizeButtonbool != NULL){ - return m_wxFrameExtEnableMinimizeButtonbool(this, enable); - } - else { - return res; - } - } - wxFrameExtFindItemInMenuBarintFunc m_wxFrameExtFindItemInMenuBarint = NULL; - virtual wxMenuItem* FindItemInMenuBar(int menuId) const override - { - wxMenuItem* res = wxFrame::FindItemInMenuBar(menuId); - if (*m_wxFrameExtFindItemInMenuBarint != NULL){ - return m_wxFrameExtFindItemInMenuBarint(this, menuId); - } - else { - return res; - } - } - wxFrameExtGetClassInfoFunc m_wxFrameExtGetClassInfo = NULL; - virtual wxClassInfo* GetClassInfo() const override - { - wxClassInfo* res = wxFrame::GetClassInfo(); - if (*m_wxFrameExtGetClassInfo != NULL){ - return m_wxFrameExtGetClassInfo(this); - } - else { - return res; - } - } - wxFrameExtGetClientAreaOriginFunc m_wxFrameExtGetClientAreaOrigin = NULL; - virtual wxPoint GetClientAreaOrigin() const override - { - wxPoint res = wxFrame::GetClientAreaOrigin(); - if (*m_wxFrameExtGetClientAreaOrigin != NULL){ - return m_wxFrameExtGetClientAreaOrigin(this); - } - else { - return res; - } - } - wxFrameExtGetContentProtectionFunc m_wxFrameExtGetContentProtection = NULL; - virtual wxContentProtection GetContentProtection() const override - { - wxContentProtection res = wxFrame::GetContentProtection(); - if (*m_wxFrameExtGetContentProtection != NULL){ - return m_wxFrameExtGetContentProtection(this); - } - else { - return res; - } - } - wxFrameExtGetEventHashTableFunc m_wxFrameExtGetEventHashTable = NULL; - virtual wxEventHashTable& GetEventHashTable() const override - { - wxEventHashTable& res = wxFrame::GetEventHashTable(); - if (*m_wxFrameExtGetEventHashTable != NULL){ - return m_wxFrameExtGetEventHashTable(this); - } - else { - return res; - } - } - wxFrameExtGetEventTableFunc m_wxFrameExtGetEventTable = NULL; - virtual wxEventTable const* GetEventTable() const override - { - wxEventTable const* res = wxFrame::GetEventTable(); - if (*m_wxFrameExtGetEventTable != NULL){ - return m_wxFrameExtGetEventTable(this); - } - else { - return res; - } - } - wxFrameExtGetLabelFunc m_wxFrameExtGetLabel = NULL; - virtual wxString GetLabel() const override - { - wxString res = wxFrame::GetLabel(); - if (*m_wxFrameExtGetLabel != NULL){ - return m_wxFrameExtGetLabel(this); - } - else { - return res; - } - } - wxFrameExtGetMenuBarFunc m_wxFrameExtGetMenuBar = NULL; - virtual wxMenuBar* GetMenuBar() const override - { - wxMenuBar* res = wxFrame::GetMenuBar(); - if (*m_wxFrameExtGetMenuBar != NULL){ - return m_wxFrameExtGetMenuBar(this); - } - else { - return res; - } - } - wxFrameExtGetRectForTopLevelChildrenintPintPintPintPFunc m_wxFrameExtGetRectForTopLevelChildrenintPintPintPintP = NULL; - virtual void GetRectForTopLevelChildren(int* x, int* y, int* w, int* h) override - { - wxFrame::GetRectForTopLevelChildren(x, y, w, h); - if (*m_wxFrameExtGetRectForTopLevelChildrenintPintPintPintP != NULL){ - return m_wxFrameExtGetRectForTopLevelChildrenintPintPintPintP(this, x, y, w, h); - } - } - wxFrameExtGetStatusBarFunc m_wxFrameExtGetStatusBar = NULL; - virtual wxStatusBar* GetStatusBar() const override - { - wxStatusBar* res = wxFrame::GetStatusBar(); - if (*m_wxFrameExtGetStatusBar != NULL){ - return m_wxFrameExtGetStatusBar(this); - } - else { - return res; - } - } - wxFrameExtGetTitleFunc m_wxFrameExtGetTitle = NULL; - virtual wxString GetTitle() const override - { - wxString res = wxFrame::GetTitle(); - if (*m_wxFrameExtGetTitle != NULL){ - return m_wxFrameExtGetTitle(this); - } - else { - return res; - } - } - wxFrameExtGetToolBarFunc m_wxFrameExtGetToolBar = NULL; - virtual wxToolBar* GetToolBar() const override - { - wxToolBar* res = wxFrame::GetToolBar(); - if (*m_wxFrameExtGetToolBar != NULL){ - return m_wxFrameExtGetToolBar(this); - } - else { - return res; - } - } - wxFrameExtIconizeboolFunc m_wxFrameExtIconizebool = NULL; - virtual void Iconize(bool iconize = true) override - { - wxFrame::Iconize(iconize); - if (*m_wxFrameExtIconizebool != NULL){ - return m_wxFrameExtIconizebool(this, iconize); - } - } - wxFrameExtIsActiveFunc m_wxFrameExtIsActive = NULL; - virtual bool IsActive() override - { - bool res = wxFrame::IsActive(); - if (*m_wxFrameExtIsActive != NULL){ - return m_wxFrameExtIsActive(this); - } - else { - return res; - } - } - wxFrameExtIsAlwaysMaximizedFunc m_wxFrameExtIsAlwaysMaximized = NULL; - virtual bool IsAlwaysMaximized() const override - { - bool res = wxFrame::IsAlwaysMaximized(); - if (*m_wxFrameExtIsAlwaysMaximized != NULL){ - return m_wxFrameExtIsAlwaysMaximized(this); - } - else { - return res; - } - } - wxFrameExtIsClientAreaChildwxWindowCPFunc m_wxFrameExtIsClientAreaChildwxWindowCP = NULL; - virtual bool IsClientAreaChild(wxWindow const* child) const override - { - bool res = wxFrame::IsClientAreaChild(child); - if (*m_wxFrameExtIsClientAreaChildwxWindowCP != NULL){ - return m_wxFrameExtIsClientAreaChildwxWindowCP(this, child); - } - else { - return res; - } - } - wxFrameExtIsFullScreenFunc m_wxFrameExtIsFullScreen = NULL; - virtual bool IsFullScreen() const override - { - bool res = wxFrame::IsFullScreen(); - if (*m_wxFrameExtIsFullScreen != NULL){ - return m_wxFrameExtIsFullScreen(this); - } - else { - return res; - } - } - wxFrameExtIsIconizedFunc m_wxFrameExtIsIconized = NULL; - virtual bool IsIconized() const override - { - bool res = wxFrame::IsIconized(); - if (*m_wxFrameExtIsIconized != NULL){ - return m_wxFrameExtIsIconized(this); - } - else { - return res; - } - } - wxFrameExtIsMaximizedFunc m_wxFrameExtIsMaximized = NULL; - virtual bool IsMaximized() const override - { - bool res = wxFrame::IsMaximized(); - if (*m_wxFrameExtIsMaximized != NULL){ - return m_wxFrameExtIsMaximized(this); - } - else { - return res; - } - } - wxFrameExtIsOneOfBarswxWindowCPFunc m_wxFrameExtIsOneOfBarswxWindowCP = NULL; - virtual bool IsOneOfBars(wxWindow const* win) const override - { - bool res = wxFrame::IsOneOfBars(win); - if (*m_wxFrameExtIsOneOfBarswxWindowCP != NULL){ - return m_wxFrameExtIsOneOfBarswxWindowCP(this, win); - } - else { - return res; - } - } - wxFrameExtIsTopLevelFunc m_wxFrameExtIsTopLevel = NULL; - virtual bool IsTopLevel() const override - { - bool res = wxFrame::IsTopLevel(); - if (*m_wxFrameExtIsTopLevel != NULL){ - return m_wxFrameExtIsTopLevel(this); - } - else { - return res; - } - } - wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc m_wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKind = NULL; - virtual bool IsTopNavigationDomain(wxWindowBase::NavigationKind kind) const override - { - bool res = wxFrame::IsTopNavigationDomain(kind); - if (*m_wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKind != NULL){ - return m_wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKind(this, kind); - } - else { - return res; - } - } - wxFrameExtIsVisibleFunc m_wxFrameExtIsVisible = NULL; - virtual bool IsVisible() const override - { - bool res = wxFrame::IsVisible(); - if (*m_wxFrameExtIsVisible != NULL){ - return m_wxFrameExtIsVisible(this); - } - else { - return res; - } - } - wxFrameExtLayoutFunc m_wxFrameExtLayout = NULL; - virtual bool Layout() override - { - bool res = wxFrame::Layout(); - if (*m_wxFrameExtLayout != NULL){ - return m_wxFrameExtLayout(this); - } - else { - return res; - } - } - wxFrameExtMaximizeboolFunc m_wxFrameExtMaximizebool = NULL; - virtual void Maximize(bool maximize = true) override - { - wxFrame::Maximize(maximize); - if (*m_wxFrameExtMaximizebool != NULL){ - return m_wxFrameExtMaximizebool(this, maximize); - } - } - wxFrameExtOSXIsModifiedFunc m_wxFrameExtOSXIsModified = NULL; - virtual bool OSXIsModified() const override - { - bool res = wxFrame::OSXIsModified(); - if (*m_wxFrameExtOSXIsModified != NULL){ - return m_wxFrameExtOSXIsModified(this); - } - else { - return res; - } - } - wxFrameExtOSXSetModifiedboolFunc m_wxFrameExtOSXSetModifiedbool = NULL; - virtual void OSXSetModified(bool modified) override - { - wxFrame::OSXSetModified(modified); - if (*m_wxFrameExtOSXSetModifiedbool != NULL){ - return m_wxFrameExtOSXSetModifiedbool(this, modified); - } - } - wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc m_wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCR = NULL; - virtual wxStatusBar* OnCreateStatusBar(int number, long style, wxWindowID winid, wxString const& name) override - { - wxStatusBar* res = wxFrame::OnCreateStatusBar(number, style, winid, name); - if (*m_wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCR(this, number, style, winid, name); - } - else { - return res; - } - } - wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCRFunc m_wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCR = NULL; - virtual wxToolBar* OnCreateToolBar(long style, wxWindowID winid, wxString const& name) override - { - wxToolBar* res = wxFrame::OnCreateToolBar(style, winid, name); - if (*m_wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCR != NULL){ - return m_wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCR(this, style, winid, name); - } - else { - return res; - } - } - wxFrameExtOnInternalIdleFunc m_wxFrameExtOnInternalIdle = NULL; - virtual void OnInternalIdle() override - { - wxFrame::OnInternalIdle(); - if (*m_wxFrameExtOnInternalIdle != NULL){ - return m_wxFrameExtOnInternalIdle(this); - } - } - wxFrameExtPositionMenuBarFunc m_wxFrameExtPositionMenuBar = NULL; - virtual void PositionMenuBar() override - { - wxFrame::PositionMenuBar(); - if (*m_wxFrameExtPositionMenuBar != NULL){ - return m_wxFrameExtPositionMenuBar(this); - } - } - wxFrameExtPositionStatusBarFunc m_wxFrameExtPositionStatusBar = NULL; - virtual void PositionStatusBar() override - { - wxFrame::PositionStatusBar(); - if (*m_wxFrameExtPositionStatusBar != NULL){ - return m_wxFrameExtPositionStatusBar(this); - } - } - wxFrameExtPositionToolBarFunc m_wxFrameExtPositionToolBar = NULL; - virtual void PositionToolBar() override - { - wxFrame::PositionToolBar(); - if (*m_wxFrameExtPositionToolBar != NULL){ - return m_wxFrameExtPositionToolBar(this); - } - } - wxFrameExtRequestUserAttentionintFunc m_wxFrameExtRequestUserAttentionint = NULL; - virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO) override - { - wxFrame::RequestUserAttention(flags); - if (*m_wxFrameExtRequestUserAttentionint != NULL){ - return m_wxFrameExtRequestUserAttentionint(this, flags); - } - } - wxFrameExtRestoreFunc m_wxFrameExtRestore = NULL; - virtual void Restore() override - { - wxFrame::Restore(); - if (*m_wxFrameExtRestore != NULL){ - return m_wxFrameExtRestore(this); - } - } - wxFrameExtSetContentProtectionwxContentProtectionFunc m_wxFrameExtSetContentProtectionwxContentProtection = NULL; - virtual bool SetContentProtection(wxContentProtection contentProtection) override - { - bool res = wxFrame::SetContentProtection(contentProtection); - if (*m_wxFrameExtSetContentProtectionwxContentProtection != NULL){ - return m_wxFrameExtSetContentProtectionwxContentProtection(this, contentProtection); - } - else { - return res; - } - } - wxFrameExtSetIconswxIconBundleCRFunc m_wxFrameExtSetIconswxIconBundleCR = NULL; - virtual void SetIcons(wxIconBundle const& icons) override - { - wxFrame::SetIcons(icons); - if (*m_wxFrameExtSetIconswxIconBundleCR != NULL){ - return m_wxFrameExtSetIconswxIconBundleCR(this, icons); - } - } - wxFrameExtSetLabelwxStringCRFunc m_wxFrameExtSetLabelwxStringCR = NULL; - virtual void SetLabel(wxString const& label) override - { - wxFrame::SetLabel(label); - if (*m_wxFrameExtSetLabelwxStringCR != NULL){ - return m_wxFrameExtSetLabelwxStringCR(this, label); - } - } - wxFrameExtSetMaxSizewxSizeCRFunc m_wxFrameExtSetMaxSizewxSizeCR = NULL; - virtual void SetMaxSize(wxSize const& maxSize) override - { - wxFrame::SetMaxSize(maxSize); - if (*m_wxFrameExtSetMaxSizewxSizeCR != NULL){ - return m_wxFrameExtSetMaxSizewxSizeCR(this, maxSize); - } - } - wxFrameExtSetMenuBarwxMenuBarPFunc m_wxFrameExtSetMenuBarwxMenuBarP = NULL; - virtual void SetMenuBar(wxMenuBar* menubar) override - { - wxFrame::SetMenuBar(menubar); - if (*m_wxFrameExtSetMenuBarwxMenuBarP != NULL){ - return m_wxFrameExtSetMenuBarwxMenuBarP(this, menubar); - } - } - wxFrameExtSetMinSizewxSizeCRFunc m_wxFrameExtSetMinSizewxSizeCR = NULL; - virtual void SetMinSize(wxSize const& minSize) override - { - wxFrame::SetMinSize(minSize); - if (*m_wxFrameExtSetMinSizewxSizeCR != NULL){ - return m_wxFrameExtSetMinSizewxSizeCR(this, minSize); - } - } - wxFrameExtSetRepresentedFilenamewxStringCRFunc m_wxFrameExtSetRepresentedFilenamewxStringCR = NULL; - virtual void SetRepresentedFilename(wxString const& filename) override - { - wxFrame::SetRepresentedFilename(filename); - if (*m_wxFrameExtSetRepresentedFilenamewxStringCR != NULL){ - return m_wxFrameExtSetRepresentedFilenamewxStringCR(this, filename); - } - } - wxFrameExtSetStatusBarwxStatusBarPFunc m_wxFrameExtSetStatusBarwxStatusBarP = NULL; - virtual void SetStatusBar(wxStatusBar* statBar) override - { - wxFrame::SetStatusBar(statBar); - if (*m_wxFrameExtSetStatusBarwxStatusBarP != NULL){ - return m_wxFrameExtSetStatusBarwxStatusBarP(this, statBar); - } - } - wxFrameExtSetStatusTextwxStringCRintFunc m_wxFrameExtSetStatusTextwxStringCRint = NULL; - virtual void SetStatusText(wxString const& text, int number = 0) override - { - wxFrame::SetStatusText(text, number); - if (*m_wxFrameExtSetStatusTextwxStringCRint != NULL){ - return m_wxFrameExtSetStatusTextwxStringCRint(this, text, number); - } - } - wxFrameExtSetStatusWidthsintintCBFunc m_wxFrameExtSetStatusWidthsintintCB = NULL; - virtual void SetStatusWidths(int n, int const widths_field[]) override - { - wxFrame::SetStatusWidths(n, widths_field); - if (*m_wxFrameExtSetStatusWidthsintintCB != NULL){ - return m_wxFrameExtSetStatusWidthsintintCB(this, n, widths_field); - } - } - wxFrameExtSetTitlewxStringCRFunc m_wxFrameExtSetTitlewxStringCR = NULL; - virtual void SetTitle(wxString const& title) override - { - wxFrame::SetTitle(title); - if (*m_wxFrameExtSetTitlewxStringCR != NULL){ - return m_wxFrameExtSetTitlewxStringCR(this, title); - } - } - wxFrameExtSetToolBarwxToolBarPFunc m_wxFrameExtSetToolBarwxToolBarP = NULL; - virtual void SetToolBar(wxToolBar* toolbar) override - { - wxFrame::SetToolBar(toolbar); - if (*m_wxFrameExtSetToolBarwxToolBarP != NULL){ - return m_wxFrameExtSetToolBarwxToolBarP(this, toolbar); - } - } - wxFrameExtShouldPreventAppExitFunc m_wxFrameExtShouldPreventAppExit = NULL; - virtual bool ShouldPreventAppExit() const override - { - bool res = wxFrame::ShouldPreventAppExit(); - if (*m_wxFrameExtShouldPreventAppExit != NULL){ - return m_wxFrameExtShouldPreventAppExit(this); - } - else { - return res; - } - } - wxFrameExtShowboolFunc m_wxFrameExtShowbool = NULL; - virtual bool Show(bool show = true) override - { - bool res = wxFrame::Show(show); - if (*m_wxFrameExtShowbool != NULL){ - return m_wxFrameExtShowbool(this, show); - } - else { - return res; - } - } - wxFrameExtShowFullScreenboollongFunc m_wxFrameExtShowFullScreenboollong = NULL; - virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) override - { - bool res = wxFrame::ShowFullScreen(show, style); - if (*m_wxFrameExtShowFullScreenboollong != NULL){ - return m_wxFrameExtShowFullScreenboollong(this, show, style); - } - else { - return res; - } - } - wxFrameExtShowWithoutActivatingFunc m_wxFrameExtShowWithoutActivating = NULL; - virtual void ShowWithoutActivating() override - { - wxFrame::ShowWithoutActivating(); - if (*m_wxFrameExtShowWithoutActivating != NULL){ - return m_wxFrameExtShowWithoutActivating(this); - } - } - wxFrameExtUpdateWindowUIlongFunc m_wxFrameExtUpdateWindowUIlong = NULL; - virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE) override - { - wxFrame::UpdateWindowUI(flags); - if (*m_wxFrameExtUpdateWindowUIlong != NULL){ - return m_wxFrameExtUpdateWindowUIlong(this, flags); - } - } - wxFrameExtWXReservedTLW1voidPFunc m_wxFrameExtWXReservedTLW1voidP = NULL; - virtual void* WXReservedTLW1(void* param0) override - { - void* res = wxFrame::WXReservedTLW1(param0); - if (*m_wxFrameExtWXReservedTLW1voidP != NULL){ - return m_wxFrameExtWXReservedTLW1voidP(this, param0); - } - else { - return res; - } - } - wxFrameExtWXReservedTLW2voidPFunc m_wxFrameExtWXReservedTLW2voidP = NULL; - virtual void* WXReservedTLW2(void* param0) override - { - void* res = wxFrame::WXReservedTLW2(param0); - if (*m_wxFrameExtWXReservedTLW2voidP != NULL){ - return m_wxFrameExtWXReservedTLW2voidP(this, param0); - } - else { - return res; - } - } - wxFrameExtWXReservedTLW3voidPFunc m_wxFrameExtWXReservedTLW3voidP = NULL; - virtual void* WXReservedTLW3(void* param0) override - { - void* res = wxFrame::WXReservedTLW3(param0); - if (*m_wxFrameExtWXReservedTLW3voidP != NULL){ - return m_wxFrameExtWXReservedTLW3voidP(this, param0); - } - else { - return res; - } - } - wxFrameExt(wxFrameExtAttachMenuBarwxMenuBarPFunc a_AttachMenuBarwxMenuBarP, wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCRFunc a_CreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtCreateToolBarlongwxWindowIDwxStringCRFunc a_CreateToolBarlongwxWindowIDwxStringCR, wxFrameExtDestroyFunc a_Destroy, wxFrameExtDetachMenuBarFunc a_DetachMenuBar, wxFrameExtDoCentreintFunc a_DoCentreint, wxFrameExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxFrameExtDoGetClientSizeintPintPFunc a_DoGetClientSizeintPintP, wxFrameExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxFrameExtDoGiveHelpwxStringCRboolFunc a_DoGiveHelpwxStringCRbool, wxFrameExtDoMenuUpdateswxMenuPFunc a_DoMenuUpdateswxMenuP, wxFrameExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxFrameExtDoSetClientSizeintintFunc a_DoSetClientSizeintint, wxFrameExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxFrameExtEnableboolFunc a_Enablebool, wxFrameExtEnableCloseButtonboolFunc a_EnableCloseButtonbool, wxFrameExtEnableFullScreenViewboollongFunc a_EnableFullScreenViewboollong, wxFrameExtEnableMaximizeButtonboolFunc a_EnableMaximizeButtonbool, wxFrameExtEnableMinimizeButtonboolFunc a_EnableMinimizeButtonbool, wxFrameExtFindItemInMenuBarintFunc a_FindItemInMenuBarint, wxFrameExtGetClassInfoFunc a_GetClassInfo, wxFrameExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxFrameExtGetContentProtectionFunc a_GetContentProtection, wxFrameExtGetEventHashTableFunc a_GetEventHashTable, wxFrameExtGetEventTableFunc a_GetEventTable, wxFrameExtGetLabelFunc a_GetLabel, wxFrameExtGetMenuBarFunc a_GetMenuBar, wxFrameExtGetRectForTopLevelChildrenintPintPintPintPFunc a_GetRectForTopLevelChildrenintPintPintPintP, wxFrameExtGetStatusBarFunc a_GetStatusBar, wxFrameExtGetTitleFunc a_GetTitle, wxFrameExtGetToolBarFunc a_GetToolBar, wxFrameExtIconizeboolFunc a_Iconizebool, wxFrameExtIsActiveFunc a_IsActive, wxFrameExtIsAlwaysMaximizedFunc a_IsAlwaysMaximized, wxFrameExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxFrameExtIsFullScreenFunc a_IsFullScreen, wxFrameExtIsIconizedFunc a_IsIconized, wxFrameExtIsMaximizedFunc a_IsMaximized, wxFrameExtIsOneOfBarswxWindowCPFunc a_IsOneOfBarswxWindowCP, wxFrameExtIsTopLevelFunc a_IsTopLevel, wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxFrameExtIsVisibleFunc a_IsVisible, wxFrameExtLayoutFunc a_Layout, wxFrameExtMaximizeboolFunc a_Maximizebool, wxFrameExtOSXIsModifiedFunc a_OSXIsModified, wxFrameExtOSXSetModifiedboolFunc a_OSXSetModifiedbool, wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCRFunc a_OnCreateStatusBarintlongwxWindowIDwxStringCR, wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCRFunc a_OnCreateToolBarlongwxWindowIDwxStringCR, wxFrameExtOnInternalIdleFunc a_OnInternalIdle, wxFrameExtPositionMenuBarFunc a_PositionMenuBar, wxFrameExtPositionStatusBarFunc a_PositionStatusBar, wxFrameExtPositionToolBarFunc a_PositionToolBar, wxFrameExtRequestUserAttentionintFunc a_RequestUserAttentionint, wxFrameExtRestoreFunc a_Restore, wxFrameExtSetContentProtectionwxContentProtectionFunc a_SetContentProtectionwxContentProtection, wxFrameExtSetIconswxIconBundleCRFunc a_SetIconswxIconBundleCR, wxFrameExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxFrameExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxFrameExtSetMenuBarwxMenuBarPFunc a_SetMenuBarwxMenuBarP, wxFrameExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxFrameExtSetRepresentedFilenamewxStringCRFunc a_SetRepresentedFilenamewxStringCR, wxFrameExtSetStatusBarwxStatusBarPFunc a_SetStatusBarwxStatusBarP, wxFrameExtSetStatusTextwxStringCRintFunc a_SetStatusTextwxStringCRint, wxFrameExtSetStatusWidthsintintCBFunc a_SetStatusWidthsintintCB, wxFrameExtSetTitlewxStringCRFunc a_SetTitlewxStringCR, wxFrameExtSetToolBarwxToolBarPFunc a_SetToolBarwxToolBarP, wxFrameExtShouldPreventAppExitFunc a_ShouldPreventAppExit, wxFrameExtShowboolFunc a_Showbool, wxFrameExtShowFullScreenboollongFunc a_ShowFullScreenboollong, wxFrameExtShowWithoutActivatingFunc a_ShowWithoutActivating, wxFrameExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxFrameExtWXReservedTLW1voidPFunc a_WXReservedTLW1voidP, wxFrameExtWXReservedTLW2voidPFunc a_WXReservedTLW2voidP, wxFrameExtWXReservedTLW3voidPFunc a_WXReservedTLW3voidP): wxFrame() { - m_wxFrameExtAttachMenuBarwxMenuBarP = a_AttachMenuBarwxMenuBarP; - m_wxFrameExtCreateStatusBarintlongwxWindowIDwxStringCR = a_CreateStatusBarintlongwxWindowIDwxStringCR; - m_wxFrameExtCreateToolBarlongwxWindowIDwxStringCR = a_CreateToolBarlongwxWindowIDwxStringCR; - m_wxFrameExtDestroy = a_Destroy; - m_wxFrameExtDetachMenuBar = a_DetachMenuBar; - m_wxFrameExtDoCentreint = a_DoCentreint; - m_wxFrameExtDoClientToScreenintPintP = a_DoClientToScreenintPintP; - m_wxFrameExtDoGetClientSizeintPintP = a_DoGetClientSizeintPintP; - m_wxFrameExtDoGetScreenPositionintPintP = a_DoGetScreenPositionintPintP; - m_wxFrameExtDoGiveHelpwxStringCRbool = a_DoGiveHelpwxStringCRbool; - m_wxFrameExtDoMenuUpdateswxMenuP = a_DoMenuUpdateswxMenuP; - m_wxFrameExtDoScreenToClientintPintP = a_DoScreenToClientintPintP; - m_wxFrameExtDoSetClientSizeintint = a_DoSetClientSizeintint; - m_wxFrameExtDoUpdateWindowUIwxUpdateUIEventR = a_DoUpdateWindowUIwxUpdateUIEventR; - m_wxFrameExtEnablebool = a_Enablebool; - m_wxFrameExtEnableCloseButtonbool = a_EnableCloseButtonbool; - m_wxFrameExtEnableFullScreenViewboollong = a_EnableFullScreenViewboollong; - m_wxFrameExtEnableMaximizeButtonbool = a_EnableMaximizeButtonbool; - m_wxFrameExtEnableMinimizeButtonbool = a_EnableMinimizeButtonbool; - m_wxFrameExtFindItemInMenuBarint = a_FindItemInMenuBarint; - m_wxFrameExtGetClassInfo = a_GetClassInfo; - m_wxFrameExtGetClientAreaOrigin = a_GetClientAreaOrigin; - m_wxFrameExtGetContentProtection = a_GetContentProtection; - m_wxFrameExtGetEventHashTable = a_GetEventHashTable; - m_wxFrameExtGetEventTable = a_GetEventTable; - m_wxFrameExtGetLabel = a_GetLabel; - m_wxFrameExtGetMenuBar = a_GetMenuBar; - m_wxFrameExtGetRectForTopLevelChildrenintPintPintPintP = a_GetRectForTopLevelChildrenintPintPintPintP; - m_wxFrameExtGetStatusBar = a_GetStatusBar; - m_wxFrameExtGetTitle = a_GetTitle; - m_wxFrameExtGetToolBar = a_GetToolBar; - m_wxFrameExtIconizebool = a_Iconizebool; - m_wxFrameExtIsActive = a_IsActive; - m_wxFrameExtIsAlwaysMaximized = a_IsAlwaysMaximized; - m_wxFrameExtIsClientAreaChildwxWindowCP = a_IsClientAreaChildwxWindowCP; - m_wxFrameExtIsFullScreen = a_IsFullScreen; - m_wxFrameExtIsIconized = a_IsIconized; - m_wxFrameExtIsMaximized = a_IsMaximized; - m_wxFrameExtIsOneOfBarswxWindowCP = a_IsOneOfBarswxWindowCP; - m_wxFrameExtIsTopLevel = a_IsTopLevel; - m_wxFrameExtIsTopNavigationDomainwxWindowBaseNNavigationKind = a_IsTopNavigationDomainwxWindowBaseNNavigationKind; - m_wxFrameExtIsVisible = a_IsVisible; - m_wxFrameExtLayout = a_Layout; - m_wxFrameExtMaximizebool = a_Maximizebool; - m_wxFrameExtOSXIsModified = a_OSXIsModified; - m_wxFrameExtOSXSetModifiedbool = a_OSXSetModifiedbool; - m_wxFrameExtOnCreateStatusBarintlongwxWindowIDwxStringCR = a_OnCreateStatusBarintlongwxWindowIDwxStringCR; - m_wxFrameExtOnCreateToolBarlongwxWindowIDwxStringCR = a_OnCreateToolBarlongwxWindowIDwxStringCR; - m_wxFrameExtOnInternalIdle = a_OnInternalIdle; - m_wxFrameExtPositionMenuBar = a_PositionMenuBar; - m_wxFrameExtPositionStatusBar = a_PositionStatusBar; - m_wxFrameExtPositionToolBar = a_PositionToolBar; - m_wxFrameExtRequestUserAttentionint = a_RequestUserAttentionint; - m_wxFrameExtRestore = a_Restore; - m_wxFrameExtSetContentProtectionwxContentProtection = a_SetContentProtectionwxContentProtection; - m_wxFrameExtSetIconswxIconBundleCR = a_SetIconswxIconBundleCR; - m_wxFrameExtSetLabelwxStringCR = a_SetLabelwxStringCR; - m_wxFrameExtSetMaxSizewxSizeCR = a_SetMaxSizewxSizeCR; - m_wxFrameExtSetMenuBarwxMenuBarP = a_SetMenuBarwxMenuBarP; - m_wxFrameExtSetMinSizewxSizeCR = a_SetMinSizewxSizeCR; - m_wxFrameExtSetRepresentedFilenamewxStringCR = a_SetRepresentedFilenamewxStringCR; - m_wxFrameExtSetStatusBarwxStatusBarP = a_SetStatusBarwxStatusBarP; - m_wxFrameExtSetStatusTextwxStringCRint = a_SetStatusTextwxStringCRint; - m_wxFrameExtSetStatusWidthsintintCB = a_SetStatusWidthsintintCB; - m_wxFrameExtSetTitlewxStringCR = a_SetTitlewxStringCR; - m_wxFrameExtSetToolBarwxToolBarP = a_SetToolBarwxToolBarP; - m_wxFrameExtShouldPreventAppExit = a_ShouldPreventAppExit; - m_wxFrameExtShowbool = a_Showbool; - m_wxFrameExtShowFullScreenboollong = a_ShowFullScreenboollong; - m_wxFrameExtShowWithoutActivating = a_ShowWithoutActivating; - m_wxFrameExtUpdateWindowUIlong = a_UpdateWindowUIlong; - m_wxFrameExtWXReservedTLW1voidP = a_WXReservedTLW1voidP; - m_wxFrameExtWXReservedTLW2voidP = a_WXReservedTLW2voidP; - m_wxFrameExtWXReservedTLW3voidP = a_WXReservedTLW3voidP; - } -}; - - - -#endif diff --git a/wxheaders/wxext/window_ext.h b/wxheaders/wxext/window_ext.h index f3c0152..1259d8c 100644 --- a/wxheaders/wxext/window_ext.h +++ b/wxheaders/wxext/window_ext.h @@ -106,6 +106,7 @@ typedef void (*wxWindowExtDoGetClientSizeintPintPFunc)(const wxWindowExt* self, typedef void (*wxWindowExtDoGetPositionintPintPFunc)(const wxWindowExt* self, int* x, int* y); typedef void (*wxWindowExtDoGetScreenPositionintPintPFunc)(const wxWindowExt* self, int* x, int* y); typedef void (*wxWindowExtDoGetSizeintPintPFunc)(const wxWindowExt* self, int* width, int* height); +typedef wxSize (*wxWindowExtDoGetSizeFromClientSizewxSizeCRFunc)(const wxWindowExt* self, wxSize const& size); typedef void (*wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCPFunc)(const wxWindowExt* self, wxString const& string, int* x, int* y, int* descent, int* externalLeading, wxFont const* font); typedef wxSize (*wxWindowExtDoGetVirtualSizeFunc)(const wxWindowExt* self); typedef wxHitTest (*wxWindowExtDoHitTestwxCoordwxCoordFunc)(const wxWindowExt* self, wxCoord x, wxCoord y); @@ -168,6 +169,7 @@ typedef int (*wxWindowExtGetScrollRangeintFunc)(const wxWindowExt* self, int ori typedef int (*wxWindowExtGetScrollThumbintFunc)(const wxWindowExt* self, int orient); typedef void (*wxWindowExtGetSizeConstraintintPintPFunc)(const wxWindowExt* self, int* w, int* h); typedef bool (*wxWindowExtGetThemeEnabledFunc)(const wxWindowExt* self); +typedef wxByte (*wxWindowExtGetTransparentFunc)(const wxWindowExt* self); typedef wxValidator* (*wxWindowExtGetValidatorFunc)(const wxWindowExt* self); typedef wxSize (*wxWindowExtGetWindowBorderSizeFunc)(const wxWindowExt* self); typedef long (*wxWindowExtGetWindowStyleFlagFunc)(const wxWindowExt* self); @@ -246,6 +248,7 @@ typedef bool (*wxWindowExtShowboolFunc)(const wxWindowExt* self, bool show); typedef bool (*wxWindowExtShowWithEffectwxShowEffectunsignedintFunc)(const wxWindowExt* self, wxShowEffect param0, unsigned int param1); typedef bool (*wxWindowExtTransferDataFromWindowFunc)(const wxWindowExt* self); typedef bool (*wxWindowExtTransferDataToWindowFunc)(const wxWindowExt* self); +typedef void (*wxWindowExtTriggerScrollEventwxEventTypeFunc)(const wxWindowExt* self, wxEventType scrollEvent); typedef bool (*wxWindowExtTryAfterwxEventRFunc)(const wxWindowExt* self, wxEvent& event); typedef bool (*wxWindowExtTryBeforewxEventRFunc)(const wxWindowExt* self, wxEvent& event); typedef bool (*wxWindowExtUnregisterHotKeyintFunc)(const wxWindowExt* self, int hotkeyId); @@ -285,6 +288,7 @@ public: } }; + class iteratorExt: public wxWindowList::iterator { public: @@ -1284,6 +1288,17 @@ public: return m_wxWindowExtDoGetSizeintPintP(this, width, height); } } + wxWindowExtDoGetSizeFromClientSizewxSizeCRFunc m_wxWindowExtDoGetSizeFromClientSizewxSizeCR = NULL; + virtual wxSize DoGetSizeFromClientSize(wxSize const& size) const override + { + wxSize res = wxWindow::DoGetSizeFromClientSize(size); + if (*m_wxWindowExtDoGetSizeFromClientSizewxSizeCR != NULL){ + return m_wxWindowExtDoGetSizeFromClientSizewxSizeCR(this, size); + } + else { + return res; + } + } wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCPFunc m_wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCP = NULL; virtual void DoGetTextExtent(wxString const& string, int* x, int* y, int* descent = __null, int* externalLeading = __null, wxFont const* font = __null) const override { @@ -1337,7 +1352,7 @@ public: } } wxWindowExtDoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrderFunc m_wxWindowExtDoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrder = NULL; - virtual void DoMoveInTabOrder(wxWindow* win, wxWindowBase::WindowOrder move) override + virtual void DoMoveInTabOrder(wxWindow* win, WindowOrder move) override { wxWindow::DoMoveInTabOrder(win, move); if (*m_wxWindowExtDoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrder != NULL){ @@ -1894,6 +1909,17 @@ public: return res; } } + wxWindowExtGetTransparentFunc m_wxWindowExtGetTransparent = NULL; + virtual wxByte GetTransparent() const override + { + wxByte res = wxWindow::GetTransparent(); + if (*m_wxWindowExtGetTransparent != NULL){ + return m_wxWindowExtGetTransparent(this); + } + else { + return res; + } + } wxWindowExtGetValidatorFunc m_wxWindowExtGetValidator = NULL; virtual wxValidator* GetValidator() override { @@ -2641,6 +2667,14 @@ public: return res; } } + wxWindowExtTriggerScrollEventwxEventTypeFunc m_wxWindowExtTriggerScrollEventwxEventType = NULL; + virtual void TriggerScrollEvent(wxEventType scrollEvent) override + { + wxWindow::TriggerScrollEvent(scrollEvent); + if (*m_wxWindowExtTriggerScrollEventwxEventType != NULL){ + return m_wxWindowExtTriggerScrollEventwxEventType(this, scrollEvent); + } + } wxWindowExtTryAfterwxEventRFunc m_wxWindowExtTryAfterwxEventR = NULL; virtual bool TryAfter(wxEvent& event) override { @@ -2802,7 +2836,7 @@ public: return res; } } - wxWindowExt(wxWindowExtAcceptsFocusFunc a_AcceptsFocus, wxWindowExtAcceptsFocusFromKeyboardFunc a_AcceptsFocusFromKeyboard, wxWindowExtAcceptsFocusRecursivelyFunc a_AcceptsFocusRecursively, wxWindowExtAddChildwxWindowBasePFunc a_AddChildwxWindowBaseP, wxWindowExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxWindowExtAdjustForLayoutDirectionwxCoordwxCoordwxCoordFunc a_AdjustForLayoutDirectionwxCoordwxCoordwxCoord, wxWindowExtAdjustForParentClientOriginintRintRintFunc a_AdjustForParentClientOriginintRintRint, wxWindowExtAlwaysShowScrollbarsboolboolFunc a_AlwaysShowScrollbarsboolbool, wxWindowExtAssociateHandleWXWidgetFunc a_AssociateHandleWXWidget, wxWindowExtBeginRepositioningChildrenFunc a_BeginRepositioningChildren, wxWindowExtCanApplyThemeBorderFunc a_CanApplyThemeBorder, wxWindowExtCanBeFocusedFunc a_CanBeFocused, wxWindowExtCanBeOutsideClientAreaFunc a_CanBeOutsideClientArea, wxWindowExtCanScrollintFunc a_CanScrollint, wxWindowExtCanSetTransparentFunc a_CanSetTransparent, wxWindowExtClearBackgroundFunc a_ClearBackground, wxWindowExtClientToWindowSizewxSizeCRFunc a_ClientToWindowSizewxSizeCR, wxWindowExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxWindowExtCreateRefDataFunc a_CreateRefData, wxWindowExtDestroyFunc a_Destroy, wxWindowExtDissociateHandleFunc a_DissociateHandle, wxWindowExtDoCaptureMouseFunc a_DoCaptureMouse, wxWindowExtDoCentreintFunc a_DoCentreint, wxWindowExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxWindowExtDoEnableboolFunc a_DoEnablebool, wxWindowExtDoFreezeFunc a_DoFreeze, wxWindowExtDoGetBestClientHeightintFunc a_DoGetBestClientHeightint, wxWindowExtDoGetBestClientSizeFunc a_DoGetBestClientSize, wxWindowExtDoGetBestClientWidthintFunc a_DoGetBestClientWidthint, wxWindowExtDoGetBestSizeFunc a_DoGetBestSize, wxWindowExtDoGetClientDataFunc a_DoGetClientData, wxWindowExtDoGetClientObjectFunc a_DoGetClientObject, wxWindowExtDoGetClientSizeintPintPFunc a_DoGetClientSizeintPintP, wxWindowExtDoGetPositionintPintPFunc a_DoGetPositionintPintP, wxWindowExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxWindowExtDoGetSizeintPintPFunc a_DoGetSizeintPintP, wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCPFunc a_DoGetTextExtentwxStringCRintPintPintPintPwxFontCP, wxWindowExtDoGetVirtualSizeFunc a_DoGetVirtualSize, wxWindowExtDoHitTestwxCoordwxCoordFunc a_DoHitTestwxCoordwxCoord, wxWindowExtDoIsExposedintintintintFunc a_DoIsExposedintintintint, wxWindowExtDoIsExposedintintFunc a_DoIsExposedintint, wxWindowExtDoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrderFunc a_DoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrder, wxWindowExtDoMoveWindowintintintintFunc a_DoMoveWindowintintintint, wxWindowExtDoNavigateInintFunc a_DoNavigateInint, wxWindowExtDoPhaseintFunc a_DoPhaseint, wxWindowExtDoPopupMenuwxMenuPintintFunc a_DoPopupMenuwxMenuPintint, wxWindowExtDoReleaseMouseFunc a_DoReleaseMouse, wxWindowExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxWindowExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxWindowExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxWindowExtDoSetClientSizeintintFunc a_DoSetClientSizeintint, wxWindowExtDoSetSizeintintintintintFunc a_DoSetSizeintintintintint, wxWindowExtDoSetSizeHintsintintintintintintFunc a_DoSetSizeHintsintintintintintint, wxWindowExtDoSetToolTipwxToolTipPFunc a_DoSetToolTipwxToolTipP, wxWindowExtDoSetToolTipTextwxStringCRFunc a_DoSetToolTipTextwxStringCR, wxWindowExtDoSetVirtualSizeintintFunc a_DoSetVirtualSizeintint, wxWindowExtDoSetWindowVariantwxWindowVariantFunc a_DoSetWindowVariantwxWindowVariant, wxWindowExtDoThawFunc a_DoThaw, wxWindowExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxWindowExtDragAcceptFilesboolFunc a_DragAcceptFilesbool, wxWindowExtEnableboolFunc a_Enablebool, wxWindowExtEnableTouchEventsintFunc a_EnableTouchEventsint, wxWindowExtEnableVisibleFocusboolFunc a_EnableVisibleFocusbool, wxWindowExtEndRepositioningChildrenFunc a_EndRepositioningChildren, wxWindowExtFitFunc a_Fit, wxWindowExtFitInsideFunc a_FitInside, wxWindowExtGetBestVirtualSizeFunc a_GetBestVirtualSize, wxWindowExtGetCharHeightFunc a_GetCharHeight, wxWindowExtGetCharWidthFunc a_GetCharWidth, wxWindowExtGetClassInfoFunc a_GetClassInfo, wxWindowExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxWindowExtGetClientSizeConstraintintPintPFunc a_GetClientSizeConstraintintPintP, wxWindowExtGetContentScaleFactorFunc a_GetContentScaleFactor, wxWindowExtGetDPIFunc a_GetDPI, wxWindowExtGetDPIScaleFactorFunc a_GetDPIScaleFactor, wxWindowExtGetDefaultAttributesFunc a_GetDefaultAttributes, wxWindowExtGetDefaultBorderFunc a_GetDefaultBorder, wxWindowExtGetDefaultBorderForControlFunc a_GetDefaultBorderForControl, wxWindowExtGetDropTargetFunc a_GetDropTarget, wxWindowExtGetEffectiveMinSizeFunc a_GetEffectiveMinSize, wxWindowExtGetEventHashTableFunc a_GetEventHashTable, wxWindowExtGetEventTableFunc a_GetEventTable, wxWindowExtGetHandleFunc a_GetHandle, wxWindowExtGetHelpTextAtPointwxPointCRwxHelpEventNOriginFunc a_GetHelpTextAtPointwxPointCRwxHelpEventNOrigin, wxWindowExtGetLabelFunc a_GetLabel, wxWindowExtGetLayoutDirectionFunc a_GetLayoutDirection, wxWindowExtGetMainWindowOfCompositeControlFunc a_GetMainWindowOfCompositeControl, wxWindowExtGetMaxClientSizeFunc a_GetMaxClientSize, wxWindowExtGetMaxSizeFunc a_GetMaxSize, wxWindowExtGetMinClientSizeFunc a_GetMinClientSize, wxWindowExtGetMinSizeFunc a_GetMinSize, wxWindowExtGetNameFunc a_GetName, wxWindowExtGetPositionConstraintintPintPFunc a_GetPositionConstraintintPintP, wxWindowExtGetScrollPosintFunc a_GetScrollPosint, wxWindowExtGetScrollRangeintFunc a_GetScrollRangeint, wxWindowExtGetScrollThumbintFunc a_GetScrollThumbint, wxWindowExtGetSizeConstraintintPintPFunc a_GetSizeConstraintintPintP, wxWindowExtGetThemeEnabledFunc a_GetThemeEnabled, wxWindowExtGetValidatorFunc a_GetValidator, wxWindowExtGetWindowBorderSizeFunc a_GetWindowBorderSize, wxWindowExtGetWindowStyleFlagFunc a_GetWindowStyleFlag, wxWindowExtHasCaptureFunc a_HasCapture, wxWindowExtHasFocusFunc a_HasFocus, wxWindowExtHasMultiplePagesFunc a_HasMultiplePages, wxWindowExtHasTransparentBackgroundFunc a_HasTransparentBackground, wxWindowExtHideWithEffectwxShowEffectunsignedintFunc a_HideWithEffectwxShowEffectunsignedint, wxWindowExtInformFirstDirectionintintintFunc a_InformFirstDirectionintintint, wxWindowExtInheritAttributesFunc a_InheritAttributes, wxWindowExtInitDialogFunc a_InitDialog, wxWindowExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxWindowExtIsDoubleBufferedFunc a_IsDoubleBuffered, wxWindowExtIsRetainedFunc a_IsRetained, wxWindowExtIsScrollbarAlwaysShownintFunc a_IsScrollbarAlwaysShownint, wxWindowExtIsShownFunc a_IsShown, wxWindowExtIsShownOnScreenFunc a_IsShownOnScreen, wxWindowExtIsThisEnabledFunc a_IsThisEnabled, wxWindowExtIsTopLevelFunc a_IsTopLevel, wxWindowExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxWindowExtIsTransparentBackgroundSupportedwxStringPFunc a_IsTransparentBackgroundSupportedwxStringP, wxWindowExtLayoutFunc a_Layout, wxWindowExtLayoutPhase1intPFunc a_LayoutPhase1intP, wxWindowExtLayoutPhase2intPFunc a_LayoutPhase2intP, wxWindowExtLowerFunc a_Lower, wxWindowExtMoveConstraintintintFunc a_MoveConstraintintint, wxWindowExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxWindowExtOnInternalIdleFunc a_OnInternalIdle, wxWindowExtPrepareDCwxDCRFunc a_PrepareDCwxDCR, wxWindowExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxWindowExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxWindowExtRaiseFunc a_Raise, wxWindowExtRefreshboolwxRectCPFunc a_RefreshboolwxRectCP, wxWindowExtRegisterHotKeyintintintFunc a_RegisterHotKeyintintint, wxWindowExtRemoveChildwxWindowBasePFunc a_RemoveChildwxWindowBaseP, wxWindowExtReparentwxWindowBasePFunc a_ReparentwxWindowBaseP, wxWindowExtScrollLinesintFunc a_ScrollLinesint, wxWindowExtScrollPagesintFunc a_ScrollPagesint, wxWindowExtScrollWindowintintwxRectCPFunc a_ScrollWindowintintwxRectCP, wxWindowExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxWindowExtSendIdleEventswxIdleEventRFunc a_SendIdleEventswxIdleEventR, wxWindowExtSendSizeEventintFunc a_SendSizeEventint, wxWindowExtSetAcceleratorTablewxAcceleratorTableCRFunc a_SetAcceleratorTablewxAcceleratorTableCR, wxWindowExtSetBackgroundColourwxColourCRFunc a_SetBackgroundColourwxColourCR, wxWindowExtSetBackgroundStylewxBackgroundStyleFunc a_SetBackgroundStylewxBackgroundStyle, wxWindowExtSetCanFocusboolFunc a_SetCanFocusbool, wxWindowExtSetConstraintSizesboolFunc a_SetConstraintSizesbool, wxWindowExtSetCursorwxCursorCRFunc a_SetCursorwxCursorCR, wxWindowExtSetDoubleBufferedboolFunc a_SetDoubleBufferedbool, wxWindowExtSetDropTargetwxDropTargetPFunc a_SetDropTargetwxDropTargetP, wxWindowExtSetExtraStylelongFunc a_SetExtraStylelong, wxWindowExtSetFocusFunc a_SetFocus, wxWindowExtSetFocusFromKbdFunc a_SetFocusFromKbd, wxWindowExtSetFontwxFontCRFunc a_SetFontwxFontCR, wxWindowExtSetForegroundColourwxColourCRFunc a_SetForegroundColourwxColourCR, wxWindowExtSetIdwxWindowIDFunc a_SetIdwxWindowID, wxWindowExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxWindowExtSetLayoutDirectionwxLayoutDirectionFunc a_SetLayoutDirectionwxLayoutDirection, wxWindowExtSetMaxClientSizewxSizeCRFunc a_SetMaxClientSizewxSizeCR, wxWindowExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxWindowExtSetMinClientSizewxSizeCRFunc a_SetMinClientSizewxSizeCR, wxWindowExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxWindowExtSetNamewxStringCRFunc a_SetNamewxStringCR, wxWindowExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxWindowExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxWindowExtSetScrollPosintintboolFunc a_SetScrollPosintintbool, wxWindowExtSetScrollbarintintintintboolFunc a_SetScrollbarintintintintbool, wxWindowExtSetSizeConstraintintintintintFunc a_SetSizeConstraintintintintint, wxWindowExtSetSizeHintsintintintintintintFunc a_SetSizeHintsintintintintintint, wxWindowExtSetThemeEnabledboolFunc a_SetThemeEnabledbool, wxWindowExtSetTransparentwxByteFunc a_SetTransparentwxByte, wxWindowExtSetValidatorwxValidatorCRFunc a_SetValidatorwxValidatorCR, wxWindowExtSetWindowStyleFlaglongFunc a_SetWindowStyleFlaglong, wxWindowExtShouldInheritColoursFunc a_ShouldInheritColours, wxWindowExtShowboolFunc a_Showbool, wxWindowExtShowWithEffectwxShowEffectunsignedintFunc a_ShowWithEffectwxShowEffectunsignedint, wxWindowExtTransferDataFromWindowFunc a_TransferDataFromWindow, wxWindowExtTransferDataToWindowFunc a_TransferDataToWindow, wxWindowExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxWindowExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxWindowExtUnregisterHotKeyintFunc a_UnregisterHotKeyint, wxWindowExtUpdateFunc a_Update, wxWindowExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxWindowExtValidateFunc a_Validate, wxWindowExtWXAdjustFontToOwnPPIwxFontRFunc a_WXAdjustFontToOwnPPIwxFontR, wxWindowExtWXGetTextEntryFunc a_WXGetTextEntry, wxWindowExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxWindowExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxWindowExtWXReservedWindow1voidPFunc a_WXReservedWindow1voidP, wxWindowExtWXReservedWindow2voidPFunc a_WXReservedWindow2voidP, wxWindowExtWXReservedWindow3voidPFunc a_WXReservedWindow3voidP, wxWindowExtWXSetInitialFittingClientSizeintwxSizerPFunc a_WXSetInitialFittingClientSizeintwxSizerP, wxWindowExtWarpPointerintintFunc a_WarpPointerintint, wxWindowExtWindowToClientSizewxSizeCRFunc a_WindowToClientSizewxSizeCR): wxWindow() { + wxWindowExt(wxWindowExtAcceptsFocusFunc a_AcceptsFocus, wxWindowExtAcceptsFocusFromKeyboardFunc a_AcceptsFocusFromKeyboard, wxWindowExtAcceptsFocusRecursivelyFunc a_AcceptsFocusRecursively, wxWindowExtAddChildwxWindowBasePFunc a_AddChildwxWindowBaseP, wxWindowExtAddPendingEventwxEventCRFunc a_AddPendingEventwxEventCR, wxWindowExtAdjustForLayoutDirectionwxCoordwxCoordwxCoordFunc a_AdjustForLayoutDirectionwxCoordwxCoordwxCoord, wxWindowExtAdjustForParentClientOriginintRintRintFunc a_AdjustForParentClientOriginintRintRint, wxWindowExtAlwaysShowScrollbarsboolboolFunc a_AlwaysShowScrollbarsboolbool, wxWindowExtAssociateHandleWXWidgetFunc a_AssociateHandleWXWidget, wxWindowExtBeginRepositioningChildrenFunc a_BeginRepositioningChildren, wxWindowExtCanApplyThemeBorderFunc a_CanApplyThemeBorder, wxWindowExtCanBeFocusedFunc a_CanBeFocused, wxWindowExtCanBeOutsideClientAreaFunc a_CanBeOutsideClientArea, wxWindowExtCanScrollintFunc a_CanScrollint, wxWindowExtCanSetTransparentFunc a_CanSetTransparent, wxWindowExtClearBackgroundFunc a_ClearBackground, wxWindowExtClientToWindowSizewxSizeCRFunc a_ClientToWindowSizewxSizeCR, wxWindowExtCloneRefDatawxObjectRefDataCPFunc a_CloneRefDatawxObjectRefDataCP, wxWindowExtCreateRefDataFunc a_CreateRefData, wxWindowExtDestroyFunc a_Destroy, wxWindowExtDissociateHandleFunc a_DissociateHandle, wxWindowExtDoCaptureMouseFunc a_DoCaptureMouse, wxWindowExtDoCentreintFunc a_DoCentreint, wxWindowExtDoClientToScreenintPintPFunc a_DoClientToScreenintPintP, wxWindowExtDoEnableboolFunc a_DoEnablebool, wxWindowExtDoFreezeFunc a_DoFreeze, wxWindowExtDoGetBestClientHeightintFunc a_DoGetBestClientHeightint, wxWindowExtDoGetBestClientSizeFunc a_DoGetBestClientSize, wxWindowExtDoGetBestClientWidthintFunc a_DoGetBestClientWidthint, wxWindowExtDoGetBestSizeFunc a_DoGetBestSize, wxWindowExtDoGetClientDataFunc a_DoGetClientData, wxWindowExtDoGetClientObjectFunc a_DoGetClientObject, wxWindowExtDoGetClientSizeintPintPFunc a_DoGetClientSizeintPintP, wxWindowExtDoGetPositionintPintPFunc a_DoGetPositionintPintP, wxWindowExtDoGetScreenPositionintPintPFunc a_DoGetScreenPositionintPintP, wxWindowExtDoGetSizeintPintPFunc a_DoGetSizeintPintP, wxWindowExtDoGetSizeFromClientSizewxSizeCRFunc a_DoGetSizeFromClientSizewxSizeCR, wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCPFunc a_DoGetTextExtentwxStringCRintPintPintPintPwxFontCP, wxWindowExtDoGetVirtualSizeFunc a_DoGetVirtualSize, wxWindowExtDoHitTestwxCoordwxCoordFunc a_DoHitTestwxCoordwxCoord, wxWindowExtDoIsExposedintintintintFunc a_DoIsExposedintintintint, wxWindowExtDoIsExposedintintFunc a_DoIsExposedintint, wxWindowExtDoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrderFunc a_DoMoveInTabOrderwxWindowPwxWindowBaseNWindowOrder, wxWindowExtDoMoveWindowintintintintFunc a_DoMoveWindowintintintint, wxWindowExtDoNavigateInintFunc a_DoNavigateInint, wxWindowExtDoPhaseintFunc a_DoPhaseint, wxWindowExtDoPopupMenuwxMenuPintintFunc a_DoPopupMenuwxMenuPintint, wxWindowExtDoReleaseMouseFunc a_DoReleaseMouse, wxWindowExtDoScreenToClientintPintPFunc a_DoScreenToClientintPintP, wxWindowExtDoSetClientDatavoidPFunc a_DoSetClientDatavoidP, wxWindowExtDoSetClientObjectwxClientDataPFunc a_DoSetClientObjectwxClientDataP, wxWindowExtDoSetClientSizeintintFunc a_DoSetClientSizeintint, wxWindowExtDoSetSizeintintintintintFunc a_DoSetSizeintintintintint, wxWindowExtDoSetSizeHintsintintintintintintFunc a_DoSetSizeHintsintintintintintint, wxWindowExtDoSetToolTipwxToolTipPFunc a_DoSetToolTipwxToolTipP, wxWindowExtDoSetToolTipTextwxStringCRFunc a_DoSetToolTipTextwxStringCR, wxWindowExtDoSetVirtualSizeintintFunc a_DoSetVirtualSizeintint, wxWindowExtDoSetWindowVariantwxWindowVariantFunc a_DoSetWindowVariantwxWindowVariant, wxWindowExtDoThawFunc a_DoThaw, wxWindowExtDoUpdateWindowUIwxUpdateUIEventRFunc a_DoUpdateWindowUIwxUpdateUIEventR, wxWindowExtDragAcceptFilesboolFunc a_DragAcceptFilesbool, wxWindowExtEnableboolFunc a_Enablebool, wxWindowExtEnableTouchEventsintFunc a_EnableTouchEventsint, wxWindowExtEnableVisibleFocusboolFunc a_EnableVisibleFocusbool, wxWindowExtEndRepositioningChildrenFunc a_EndRepositioningChildren, wxWindowExtFitFunc a_Fit, wxWindowExtFitInsideFunc a_FitInside, wxWindowExtGetBestVirtualSizeFunc a_GetBestVirtualSize, wxWindowExtGetCharHeightFunc a_GetCharHeight, wxWindowExtGetCharWidthFunc a_GetCharWidth, wxWindowExtGetClassInfoFunc a_GetClassInfo, wxWindowExtGetClientAreaOriginFunc a_GetClientAreaOrigin, wxWindowExtGetClientSizeConstraintintPintPFunc a_GetClientSizeConstraintintPintP, wxWindowExtGetContentScaleFactorFunc a_GetContentScaleFactor, wxWindowExtGetDPIFunc a_GetDPI, wxWindowExtGetDPIScaleFactorFunc a_GetDPIScaleFactor, wxWindowExtGetDefaultAttributesFunc a_GetDefaultAttributes, wxWindowExtGetDefaultBorderFunc a_GetDefaultBorder, wxWindowExtGetDefaultBorderForControlFunc a_GetDefaultBorderForControl, wxWindowExtGetDropTargetFunc a_GetDropTarget, wxWindowExtGetEffectiveMinSizeFunc a_GetEffectiveMinSize, wxWindowExtGetEventHashTableFunc a_GetEventHashTable, wxWindowExtGetEventTableFunc a_GetEventTable, wxWindowExtGetHandleFunc a_GetHandle, wxWindowExtGetHelpTextAtPointwxPointCRwxHelpEventNOriginFunc a_GetHelpTextAtPointwxPointCRwxHelpEventNOrigin, wxWindowExtGetLabelFunc a_GetLabel, wxWindowExtGetLayoutDirectionFunc a_GetLayoutDirection, wxWindowExtGetMainWindowOfCompositeControlFunc a_GetMainWindowOfCompositeControl, wxWindowExtGetMaxClientSizeFunc a_GetMaxClientSize, wxWindowExtGetMaxSizeFunc a_GetMaxSize, wxWindowExtGetMinClientSizeFunc a_GetMinClientSize, wxWindowExtGetMinSizeFunc a_GetMinSize, wxWindowExtGetNameFunc a_GetName, wxWindowExtGetPositionConstraintintPintPFunc a_GetPositionConstraintintPintP, wxWindowExtGetScrollPosintFunc a_GetScrollPosint, wxWindowExtGetScrollRangeintFunc a_GetScrollRangeint, wxWindowExtGetScrollThumbintFunc a_GetScrollThumbint, wxWindowExtGetSizeConstraintintPintPFunc a_GetSizeConstraintintPintP, wxWindowExtGetThemeEnabledFunc a_GetThemeEnabled, wxWindowExtGetTransparentFunc a_GetTransparent, wxWindowExtGetValidatorFunc a_GetValidator, wxWindowExtGetWindowBorderSizeFunc a_GetWindowBorderSize, wxWindowExtGetWindowStyleFlagFunc a_GetWindowStyleFlag, wxWindowExtHasCaptureFunc a_HasCapture, wxWindowExtHasFocusFunc a_HasFocus, wxWindowExtHasMultiplePagesFunc a_HasMultiplePages, wxWindowExtHasTransparentBackgroundFunc a_HasTransparentBackground, wxWindowExtHideWithEffectwxShowEffectunsignedintFunc a_HideWithEffectwxShowEffectunsignedint, wxWindowExtInformFirstDirectionintintintFunc a_InformFirstDirectionintintint, wxWindowExtInheritAttributesFunc a_InheritAttributes, wxWindowExtInitDialogFunc a_InitDialog, wxWindowExtIsClientAreaChildwxWindowCPFunc a_IsClientAreaChildwxWindowCP, wxWindowExtIsDoubleBufferedFunc a_IsDoubleBuffered, wxWindowExtIsRetainedFunc a_IsRetained, wxWindowExtIsScrollbarAlwaysShownintFunc a_IsScrollbarAlwaysShownint, wxWindowExtIsShownFunc a_IsShown, wxWindowExtIsShownOnScreenFunc a_IsShownOnScreen, wxWindowExtIsThisEnabledFunc a_IsThisEnabled, wxWindowExtIsTopLevelFunc a_IsTopLevel, wxWindowExtIsTopNavigationDomainwxWindowBaseNNavigationKindFunc a_IsTopNavigationDomainwxWindowBaseNNavigationKind, wxWindowExtIsTransparentBackgroundSupportedwxStringPFunc a_IsTransparentBackgroundSupportedwxStringP, wxWindowExtLayoutFunc a_Layout, wxWindowExtLayoutPhase1intPFunc a_LayoutPhase1intP, wxWindowExtLayoutPhase2intPFunc a_LayoutPhase2intP, wxWindowExtLowerFunc a_Lower, wxWindowExtMoveConstraintintintFunc a_MoveConstraintintint, wxWindowExtOnDynamicBindwxDynamicEventTableEntryRFunc a_OnDynamicBindwxDynamicEventTableEntryR, wxWindowExtOnInternalIdleFunc a_OnInternalIdle, wxWindowExtPrepareDCwxDCRFunc a_PrepareDCwxDCR, wxWindowExtProcessEventwxEventRFunc a_ProcessEventwxEventR, wxWindowExtQueueEventwxEventPFunc a_QueueEventwxEventP, wxWindowExtRaiseFunc a_Raise, wxWindowExtRefreshboolwxRectCPFunc a_RefreshboolwxRectCP, wxWindowExtRegisterHotKeyintintintFunc a_RegisterHotKeyintintint, wxWindowExtRemoveChildwxWindowBasePFunc a_RemoveChildwxWindowBaseP, wxWindowExtReparentwxWindowBasePFunc a_ReparentwxWindowBaseP, wxWindowExtScrollLinesintFunc a_ScrollLinesint, wxWindowExtScrollPagesintFunc a_ScrollPagesint, wxWindowExtScrollWindowintintwxRectCPFunc a_ScrollWindowintintwxRectCP, wxWindowExtSearchEventTablewxEventTableRwxEventRFunc a_SearchEventTablewxEventTableRwxEventR, wxWindowExtSendIdleEventswxIdleEventRFunc a_SendIdleEventswxIdleEventR, wxWindowExtSendSizeEventintFunc a_SendSizeEventint, wxWindowExtSetAcceleratorTablewxAcceleratorTableCRFunc a_SetAcceleratorTablewxAcceleratorTableCR, wxWindowExtSetBackgroundColourwxColourCRFunc a_SetBackgroundColourwxColourCR, wxWindowExtSetBackgroundStylewxBackgroundStyleFunc a_SetBackgroundStylewxBackgroundStyle, wxWindowExtSetCanFocusboolFunc a_SetCanFocusbool, wxWindowExtSetConstraintSizesboolFunc a_SetConstraintSizesbool, wxWindowExtSetCursorwxCursorCRFunc a_SetCursorwxCursorCR, wxWindowExtSetDoubleBufferedboolFunc a_SetDoubleBufferedbool, wxWindowExtSetDropTargetwxDropTargetPFunc a_SetDropTargetwxDropTargetP, wxWindowExtSetExtraStylelongFunc a_SetExtraStylelong, wxWindowExtSetFocusFunc a_SetFocus, wxWindowExtSetFocusFromKbdFunc a_SetFocusFromKbd, wxWindowExtSetFontwxFontCRFunc a_SetFontwxFontCR, wxWindowExtSetForegroundColourwxColourCRFunc a_SetForegroundColourwxColourCR, wxWindowExtSetIdwxWindowIDFunc a_SetIdwxWindowID, wxWindowExtSetLabelwxStringCRFunc a_SetLabelwxStringCR, wxWindowExtSetLayoutDirectionwxLayoutDirectionFunc a_SetLayoutDirectionwxLayoutDirection, wxWindowExtSetMaxClientSizewxSizeCRFunc a_SetMaxClientSizewxSizeCR, wxWindowExtSetMaxSizewxSizeCRFunc a_SetMaxSizewxSizeCR, wxWindowExtSetMinClientSizewxSizeCRFunc a_SetMinClientSizewxSizeCR, wxWindowExtSetMinSizewxSizeCRFunc a_SetMinSizewxSizeCR, wxWindowExtSetNamewxStringCRFunc a_SetNamewxStringCR, wxWindowExtSetNextHandlerwxEvtHandlerPFunc a_SetNextHandlerwxEvtHandlerP, wxWindowExtSetPreviousHandlerwxEvtHandlerPFunc a_SetPreviousHandlerwxEvtHandlerP, wxWindowExtSetScrollPosintintboolFunc a_SetScrollPosintintbool, wxWindowExtSetScrollbarintintintintboolFunc a_SetScrollbarintintintintbool, wxWindowExtSetSizeConstraintintintintintFunc a_SetSizeConstraintintintintint, wxWindowExtSetSizeHintsintintintintintintFunc a_SetSizeHintsintintintintintint, wxWindowExtSetThemeEnabledboolFunc a_SetThemeEnabledbool, wxWindowExtSetTransparentwxByteFunc a_SetTransparentwxByte, wxWindowExtSetValidatorwxValidatorCRFunc a_SetValidatorwxValidatorCR, wxWindowExtSetWindowStyleFlaglongFunc a_SetWindowStyleFlaglong, wxWindowExtShouldInheritColoursFunc a_ShouldInheritColours, wxWindowExtShowboolFunc a_Showbool, wxWindowExtShowWithEffectwxShowEffectunsignedintFunc a_ShowWithEffectwxShowEffectunsignedint, wxWindowExtTransferDataFromWindowFunc a_TransferDataFromWindow, wxWindowExtTransferDataToWindowFunc a_TransferDataToWindow, wxWindowExtTriggerScrollEventwxEventTypeFunc a_TriggerScrollEventwxEventType, wxWindowExtTryAfterwxEventRFunc a_TryAfterwxEventR, wxWindowExtTryBeforewxEventRFunc a_TryBeforewxEventR, wxWindowExtUnregisterHotKeyintFunc a_UnregisterHotKeyint, wxWindowExtUpdateFunc a_Update, wxWindowExtUpdateWindowUIlongFunc a_UpdateWindowUIlong, wxWindowExtValidateFunc a_Validate, wxWindowExtWXAdjustFontToOwnPPIwxFontRFunc a_WXAdjustFontToOwnPPIwxFontR, wxWindowExtWXGetTextEntryFunc a_WXGetTextEntry, wxWindowExtWXReservedEvtHandler1voidPFunc a_WXReservedEvtHandler1voidP, wxWindowExtWXReservedEvtHandler2voidPFunc a_WXReservedEvtHandler2voidP, wxWindowExtWXReservedWindow1voidPFunc a_WXReservedWindow1voidP, wxWindowExtWXReservedWindow2voidPFunc a_WXReservedWindow2voidP, wxWindowExtWXReservedWindow3voidPFunc a_WXReservedWindow3voidP, wxWindowExtWXSetInitialFittingClientSizeintwxSizerPFunc a_WXSetInitialFittingClientSizeintwxSizerP, wxWindowExtWarpPointerintintFunc a_WarpPointerintint, wxWindowExtWindowToClientSizewxSizeCRFunc a_WindowToClientSizewxSizeCR): wxWindow() { m_wxWindowExtAcceptsFocus = a_AcceptsFocus; m_wxWindowExtAcceptsFocusFromKeyboard = a_AcceptsFocusFromKeyboard; m_wxWindowExtAcceptsFocusRecursively = a_AcceptsFocusRecursively; @@ -2839,6 +2873,7 @@ public: m_wxWindowExtDoGetPositionintPintP = a_DoGetPositionintPintP; m_wxWindowExtDoGetScreenPositionintPintP = a_DoGetScreenPositionintPintP; m_wxWindowExtDoGetSizeintPintP = a_DoGetSizeintPintP; + m_wxWindowExtDoGetSizeFromClientSizewxSizeCR = a_DoGetSizeFromClientSizewxSizeCR; m_wxWindowExtDoGetTextExtentwxStringCRintPintPintPintPwxFontCP = a_DoGetTextExtentwxStringCRintPintPintPintPwxFontCP; m_wxWindowExtDoGetVirtualSize = a_DoGetVirtualSize; m_wxWindowExtDoHitTestwxCoordwxCoord = a_DoHitTestwxCoordwxCoord; @@ -2901,6 +2936,7 @@ public: m_wxWindowExtGetScrollThumbint = a_GetScrollThumbint; m_wxWindowExtGetSizeConstraintintPintP = a_GetSizeConstraintintPintP; m_wxWindowExtGetThemeEnabled = a_GetThemeEnabled; + m_wxWindowExtGetTransparent = a_GetTransparent; m_wxWindowExtGetValidator = a_GetValidator; m_wxWindowExtGetWindowBorderSize = a_GetWindowBorderSize; m_wxWindowExtGetWindowStyleFlag = a_GetWindowStyleFlag; @@ -2979,6 +3015,7 @@ public: m_wxWindowExtShowWithEffectwxShowEffectunsignedint = a_ShowWithEffectwxShowEffectunsignedint; m_wxWindowExtTransferDataFromWindow = a_TransferDataFromWindow; m_wxWindowExtTransferDataToWindow = a_TransferDataToWindow; + m_wxWindowExtTriggerScrollEventwxEventType = a_TriggerScrollEventwxEventType; m_wxWindowExtTryAfterwxEventR = a_TryAfterwxEventR; m_wxWindowExtTryBeforewxEventR = a_TryBeforewxEventR; m_wxWindowExtUnregisterHotKeyint = a_UnregisterHotKeyint;