Build fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-28 23:08:31 +00:00
parent 1c756ac814
commit 34deaa9362
4 changed files with 19 additions and 3 deletions

View File

@@ -20,6 +20,8 @@
#if wxUSE_FSVOLUME
#include "wx/arrstr.h"
// the volume flags
enum
{
@@ -142,4 +144,3 @@ typedef wxFSVolumeBase wxFSVolume;
#endif // wxUSE_FSVOLUME
#endif // _WX_FSVOLUME_H_

View File

@@ -752,11 +752,13 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p)
#else
p->pad_char;
#if wxUSE_WCHAR_T
if (type == wxPAT_WCHAR) {
// user passed a character explicitely indicated as Unicode...
const wchar_t buf[2] = { p->pad_wchar, 0 };
val = wxString(buf, wxConvLibc)[0u];
}
#endif
#endif
size_t i;
@@ -788,10 +790,12 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p)
#else
p->pad_pchar;
#if wxUSE_WCHAR_T
if (type == wxPAT_PWCHAR) {
// user passed a string explicitely indicated as Unicode...
val = wxString(p->pad_pwchar, wxConvLibc);
}
#endif
#endif
int len;

View File

@@ -25,6 +25,8 @@
#if wxUSE_FSVOLUME
#include "wx/volume.h"
#ifndef WX_PRECOMP
#if wxUSE_GUI
#include "wx/icon.h"
@@ -33,7 +35,7 @@
#endif // WX_PRECOMP
#include "wx/arrstr.h"
#include "wx/volume.h"
#include "wx/hashmap.h"
#include <VFSMgr.h>
#include <PalmTypesCompatibility.h>
@@ -232,4 +234,3 @@ wxIcon wxFSVolume::GetIcon(wxFSIconType type) const
#endif // wxUSE_GUI
#endif // wxUSE_FSVOLUME

View File

@@ -233,6 +233,16 @@ wxWindow *wxWindowPalm::FindItemByWinHandle(WXWINHANDLE handle, bool controlOnly
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
// ----------------------------------------------------------------------------