]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/private/hiddenwin.h
Try loading even English translations if provided.
[wxWidgets.git] / include / wx / msw / private / hiddenwin.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/private/hiddenwin.h
3 // Purpose: Helper for creating a hidden window used by wxMSW internally.
4 // Author: Vadim Zeitlin
5 // Created: 2011-09-16
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_MSW_PRIVATE_HIDDENWIN_H_
11 #define _WX_MSW_PRIVATE_HIDDENWIN_H_
12
13 #include "wx/msw/private.h"
14
15 /*
16 Creates a hidden window with supplied window proc registering the class for
17 it if necessary (i.e. the first time only). Caller is responsible for
18 destroying the window and unregistering the class (note that this must be
19 done because wxWidgets may be used as a DLL and so may be loaded/unloaded
20 multiple times into/from the same process so we can't rely on automatic
21 Windows class unregistration).
22
23 pclassname is a pointer to a caller stored classname, which must initially be
24 NULL. classname is the desired wndclass classname. If function successfully
25 registers the class, pclassname will be set to classname.
26 */
27 extern "C" WXDLLIMPEXP_BASE HWND
28 wxCreateHiddenWindow(LPCTSTR *pclassname, LPCTSTR classname, WNDPROC wndproc);
29
30 #endif // _WX_MSW_PRIVATE_HIDDENWIN_H_