~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Externals/wxWidgets3/include/wx/msw/private/hiddenwin.h

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_