added more includes of wx/msw/dc.h needed since r52054 for wxMSW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
#include "wx/renderer.h"
|
#include "wx/renderer.h"
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
#include "wx/msw/dc.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// private functions
|
// private functions
|
||||||
|
@@ -394,9 +394,13 @@ bool wxComboBox::MSWShouldPreProcessMessage(WXMSG *pMsg)
|
|||||||
|
|
||||||
WXHWND wxComboBox::GetEditHWNDIfAvailable() const
|
WXHWND wxComboBox::GetEditHWNDIfAvailable() const
|
||||||
{
|
{
|
||||||
// we assume that the only child of the combobox is the edit window so it's
|
// notice that a slightly safer alternative could be to use FindWindowEx()
|
||||||
// unnecessary to pass "EDIT" as class name parameter
|
// but it's not available under WinCE so just take the first child for now
|
||||||
return (WXHWND)::FindWindowEx(GetHwnd(), NULL, NULL, NULL);
|
// to keep one version of the code for all platforms and fix it later if
|
||||||
|
// problems are discovered
|
||||||
|
|
||||||
|
// we assume that the only child of the combobox is the edit window
|
||||||
|
return (WXHWND)::GetWindow(GetHwnd(), GW_CHILD);
|
||||||
}
|
}
|
||||||
|
|
||||||
WXHWND wxComboBox::GetEditHWND() const
|
WXHWND wxComboBox::GetEditHWND() const
|
||||||
|
@@ -32,6 +32,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
#include "wx/msw/dc.h"
|
||||||
|
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
|
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
#include "wx/sysopt.h"
|
#include "wx/sysopt.h"
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
#include "wx/msw/dc.h"
|
||||||
|
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include "wx/msw/winundef.h"
|
#include "wx/msw/winundef.h"
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "wx/fontutil.h"
|
#include "wx/fontutil.h"
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
#include "wx/msw/dc.h"
|
||||||
|
|
||||||
#ifndef SPI_GETKEYBOARDCUES
|
#ifndef SPI_GETKEYBOARDCUES
|
||||||
#define SPI_GETKEYBOARDCUES 0x100A
|
#define SPI_GETKEYBOARDCUES 0x100A
|
||||||
|
@@ -41,6 +41,7 @@
|
|||||||
#include "wx/msw/uxtheme.h"
|
#include "wx/msw/uxtheme.h"
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
#include "wx/msw/missing.h"
|
#include "wx/msw/missing.h"
|
||||||
|
#include "wx/msw/dc.h"
|
||||||
|
|
||||||
// the values coincide with those in tmschema.h
|
// the values coincide with those in tmschema.h
|
||||||
#define BP_GROUPBOX 4
|
#define BP_GROUPBOX 4
|
||||||
|
Reference in New Issue
Block a user