applied patch 939076: __SMARTPHONE__ define

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-04-21 21:13:49 +00:00
parent 8f61ba286d
commit d7da7f13eb
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@
#include "wx/msgdlg.h"
#endif
#if wxUSE_COLOURDLG && !wxUSE_SMARTPHONE
#if wxUSE_COLOURDLG && !defined(__SMARTPHONE__)
#include "wx/msw/private.h"
#include "wx/colordlg.h"

View File

@ -28,7 +28,7 @@
#pragma hdrstop
#endif
#if wxUSE_FILEDLG && !wxUSE_SMARTPHONE
#if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
#ifndef WX_PRECOMP
#include "wx/utils.h"

View File

@ -31,7 +31,7 @@
// Only use this for MS SmartPhone. Use standard file dialog
// for Pocket PC.
#if wxUSE_FILEDLG && wxUSE_SMARTPHONE
#if wxUSE_FILEDLG && defined(__SMARTPHONE__)
#ifndef WX_PRECOMP
#include "wx/utils.h"

View File

@ -256,7 +256,7 @@ bool wxToolBar::MSWCreateToolbar(const wxPoint& pos, const wxSize& size, wxMenuB
memset (&mbi, 0, sizeof (SHMENUBARINFO));
mbi.cbSize = sizeof (SHMENUBARINFO);
mbi.hwndParent = (HWND) GetParent()->GetHWND();
#if defined(WIN32_PLATFORM_WFSP)
#ifdef __SMARTPHONE__
mbi.nToolBarId = 5002;
#else
mbi.nToolBarId = 5000;