From: Vadim Zeitlin Date: Thu, 4 Aug 2005 20:28:00 +0000 (+0000) Subject: removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/91ebae296d79e73c1a17af0439ff42acfda30aa9 removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 840642a60c..1af4b77fca 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -108,12 +108,6 @@ extern WXDLLIMPEXP_DATA_BASE(HINSTANCE) wxhInstance; #endif #endif -#if wxUSE_PENWIN - WXDLLEXPORT void wxRegisterPenWin(); - WXDLLEXPORT void wxCleanUpPenWin(); - WXDLLEXPORT void wxEnablePenAppHooks (bool hook); -#endif // wxUSE_PENWIN - #if wxUSE_ITSY_BITSY #define IBS_HORZCAPTION 0x4000L #define IBS_VERTCAPTION 0x8000L diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 0c6fcaec1e..f5bc41e56e 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -1154,9 +1154,6 @@ // NB: all settings in this section are obsolete and should not be used/changed // at all, they will disappear -// Set to 1 to use PenWindows -#define wxUSE_PENWINDOWS 0 - // Define 1 to use bitmap messages. #define wxUSE_BITMAP_MESSAGE 1 diff --git a/include/wx/msw/setup_microwin.h b/include/wx/msw/setup_microwin.h index 38ebca0dca..34d687fef8 100644 --- a/include/wx/msw/setup_microwin.h +++ b/include/wx/msw/setup_microwin.h @@ -981,9 +981,6 @@ // NB: all settings in this section are obsolete and should not be used/changed // at all, they will disappear -// Set to 1 to use PenWindows -#define wxUSE_PENWINDOWS 0 - // Define 1 to use bitmap messages. #define wxUSE_BITMAP_MESSAGE 1 diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index 9e92174947..5c9989e68a 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -1165,9 +1165,6 @@ // NB: all settings in this section are obsolete and should not be used/changed // at all, they will disappear -// Set to 1 to use PenWindows -#define wxUSE_PENWINDOWS 0 - // Define 1 to use bitmap messages. #define wxUSE_BITMAP_MESSAGE 1 diff --git a/include/wx/palmos/setup0.h b/include/wx/palmos/setup0.h index c4aefcc9f3..710d51df6d 100644 --- a/include/wx/palmos/setup0.h +++ b/include/wx/palmos/setup0.h @@ -1087,9 +1087,6 @@ // NB: all settings in this section are obsolete and should not be used/changed // at all, they will disappear -// Set to 1 to use PenWindows -#define wxUSE_PENWINDOWS 0 - // Define 1 to use bitmap messages. #define wxUSE_BITMAP_MESSAGE 0 diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 02202957d7..b9f63879e6 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -308,10 +308,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv) RegisterWindowClasses(); -#if wxUSE_PENWINDOWS - wxRegisterPenWin(); -#endif - wxWinHandleHash = new wxWinHashTable(wxKEY_INTEGER, 100); #if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)