Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#if wxUSE_FSVOLUME
|
#if wxUSE_FSVOLUME
|
||||||
|
|
||||||
|
#include "wx/arrstr.h"
|
||||||
|
|
||||||
// the volume flags
|
// the volume flags
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@@ -142,4 +144,3 @@ typedef wxFSVolumeBase wxFSVolume;
|
|||||||
#endif // wxUSE_FSVOLUME
|
#endif // wxUSE_FSVOLUME
|
||||||
|
|
||||||
#endif // _WX_FSVOLUME_H_
|
#endif // _WX_FSVOLUME_H_
|
||||||
|
|
||||||
|
@@ -752,11 +752,13 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p)
|
|||||||
#else
|
#else
|
||||||
p->pad_char;
|
p->pad_char;
|
||||||
|
|
||||||
|
#if wxUSE_WCHAR_T
|
||||||
if (type == wxPAT_WCHAR) {
|
if (type == wxPAT_WCHAR) {
|
||||||
// user passed a character explicitely indicated as Unicode...
|
// user passed a character explicitely indicated as Unicode...
|
||||||
const wchar_t buf[2] = { p->pad_wchar, 0 };
|
const wchar_t buf[2] = { p->pad_wchar, 0 };
|
||||||
val = wxString(buf, wxConvLibc)[0u];
|
val = wxString(buf, wxConvLibc)[0u];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
size_t i;
|
size_t i;
|
||||||
@@ -788,10 +790,12 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p)
|
|||||||
#else
|
#else
|
||||||
p->pad_pchar;
|
p->pad_pchar;
|
||||||
|
|
||||||
|
#if wxUSE_WCHAR_T
|
||||||
if (type == wxPAT_PWCHAR) {
|
if (type == wxPAT_PWCHAR) {
|
||||||
// user passed a string explicitely indicated as Unicode...
|
// user passed a string explicitely indicated as Unicode...
|
||||||
val = wxString(p->pad_pwchar, wxConvLibc);
|
val = wxString(p->pad_pwchar, wxConvLibc);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
|
@@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
#if wxUSE_FSVOLUME
|
#if wxUSE_FSVOLUME
|
||||||
|
|
||||||
|
#include "wx/volume.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
#include "wx/icon.h"
|
#include "wx/icon.h"
|
||||||
@@ -33,7 +35,7 @@
|
|||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/arrstr.h"
|
#include "wx/arrstr.h"
|
||||||
#include "wx/volume.h"
|
#include "wx/hashmap.h"
|
||||||
|
|
||||||
#include <VFSMgr.h>
|
#include <VFSMgr.h>
|
||||||
#include <PalmTypesCompatibility.h>
|
#include <PalmTypesCompatibility.h>
|
||||||
@@ -232,4 +234,3 @@ wxIcon wxFSVolume::GetIcon(wxFSIconType type) const
|
|||||||
#endif // wxUSE_GUI
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
#endif // wxUSE_FSVOLUME
|
#endif // wxUSE_FSVOLUME
|
||||||
|
|
||||||
|
@@ -233,6 +233,16 @@ wxWindow *wxWindowPalm::FindItemByWinHandle(WXWINHANDLE handle, bool controlOnly
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxGetKeyState(wxKeyCode key)
|
||||||
|
{
|
||||||
|
wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key !=
|
||||||
|
WXK_MBUTTON, wxT("can't use wxGetKeyState() for mouse buttons"));
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constructors and such
|
// constructors and such
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user