WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9ce43bfae9
commit
ffcb4ee424
@ -27,8 +27,8 @@
|
||||
|
||||
// CreateDialog
|
||||
|
||||
//#ifdef(CreateDialog)
|
||||
#if !defined(__WXWINCE__) && defined(CreateDialog)
|
||||
// #if defined(CreateDialog)
|
||||
#undef CreateDialog
|
||||
|
||||
inline HWND CreateDialog(HINSTANCE hInstance,
|
||||
|
@ -353,7 +353,11 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
|
||||
symbol = 0;
|
||||
|
||||
#elif defined(__WINDOWS__)
|
||||
#ifdef __WXWINCE__
|
||||
symbol = (void*) ::GetProcAddress( m_handle, name );
|
||||
#else
|
||||
symbol = (void*) ::GetProcAddress( m_handle, name.mb_str() );
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error "runtime shared lib support not implemented"
|
||||
|
@ -43,6 +43,12 @@
|
||||
#include "wx/msw/private.h"
|
||||
#include "wx/msw/winundef.h"
|
||||
|
||||
// This can't be undefed in winundef.h or
|
||||
// there are further errors
|
||||
#if defined(__WXWINCE__) && defined(CreateDialog)
|
||||
#undef CreateDialog
|
||||
#endif
|
||||
|
||||
#include "wx/display.h"
|
||||
|
||||
#ifndef ICON_BIG
|
||||
|
@ -144,7 +144,7 @@ bool wxGetHostName(wxChar *buf, int maxSize)
|
||||
// get full hostname (with domain name if possible)
|
||||
bool wxGetFullHostName(wxChar *buf, int maxSize)
|
||||
{
|
||||
#ifndef __WXMICROWIN__
|
||||
#if !defined( __WXMICROWIN__) && wxUSE_DYNAMIC_LOADER
|
||||
// TODO should use GetComputerNameEx() when available
|
||||
|
||||
// we don't want to always link with Winsock DLL as we might not use it at
|
||||
|
@ -121,7 +121,7 @@
|
||||
// wxWin macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
||||
|
||||
BEGIN_EVENT_TABLE(wxToolBar, wxToolBarBase)
|
||||
EVT_MOUSE_EVENTS(wxToolBar::OnMouseEvent)
|
||||
|
Loading…
Reference in New Issue
Block a user