Undefined reference found in Tinderbox logs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-05-23 12:26:15 +00:00
parent 1146983c7b
commit 5489a9a1fa

View File

@@ -4,9 +4,9 @@
// Author: AUTHOR // Author: AUTHOR
// Modified by: // Modified by:
// Created: 2003/??/?? // Created: 2003/??/??
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) AUTHOR // Copyright: (c) AUTHOR
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#include "wx/setup.h" #include "wx/setup.h"
@@ -58,11 +58,16 @@ wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
return info; return info;
} }
// Return TRUE if we have a colour display wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
{
return wxGenericFindWindowAtPoint(pt);
}
// Return true if we have a colour display
bool wxColourDisplay() bool wxColourDisplay()
{ {
// TODO // TODO
return TRUE; return true;
} }
void wxGetMousePosition( int* x, int* y ) void wxGetMousePosition( int* x, int* y )
@@ -97,7 +102,7 @@ void wxFlushEvents()
bool wxCheckForInterrupt(wxWindow *wnd) bool wxCheckForInterrupt(wxWindow *wnd)
{ {
// TODO // TODO
return FALSE; return false;
} }
#endif #endif
@@ -107,72 +112,72 @@ bool wxCheckForInterrupt(wxWindow *wnd)
bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file) bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file)
{ {
// TODO // TODO
return FALSE; return false;
} }
bool wxWriteResource(const wxString& section, const wxString& entry, float value, const wxString& file) bool wxWriteResource(const wxString& section, const wxString& entry, float value, const wxString& file)
{ {
char buf[50]; char buf[50];
sprintf(buf, "%.4f", value); sprintf(buf, "%.4f", value);
return wxWriteResource(section, entry, buf, file); return wxWriteResource(section, entry, buf, file);
} }
bool wxWriteResource(const wxString& section, const wxString& entry, long value, const wxString& file) bool wxWriteResource(const wxString& section, const wxString& entry, long value, const wxString& file)
{ {
char buf[50]; char buf[50];
sprintf(buf, "%ld", value); sprintf(buf, "%ld", value);
return wxWriteResource(section, entry, buf, file); return wxWriteResource(section, entry, buf, file);
} }
bool wxWriteResource(const wxString& section, const wxString& entry, int value, const wxString& file) bool wxWriteResource(const wxString& section, const wxString& entry, int value, const wxString& file)
{ {
char buf[50]; char buf[50];
sprintf(buf, "%d", value); sprintf(buf, "%d", value);
return wxWriteResource(section, entry, buf, file); return wxWriteResource(section, entry, buf, file);
} }
bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file) bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file)
{ {
// TODO // TODO
return FALSE; return false;
} }
bool wxGetResource(const wxString& section, const wxString& entry, float *value, const wxString& file) bool wxGetResource(const wxString& section, const wxString& entry, float *value, const wxString& file)
{ {
char *s = NULL; char *s = NULL;
bool succ = wxGetResource(section, entry, (char **)&s, file); bool succ = wxGetResource(section, entry, (char **)&s, file);
if (succ) if (succ)
{ {
*value = (float)strtod(s, NULL); *value = (float)strtod(s, NULL);
delete[] s; delete[] s;
return TRUE; return true;
} }
else return FALSE; else return false;
} }
bool wxGetResource(const wxString& section, const wxString& entry, long *value, const wxString& file) bool wxGetResource(const wxString& section, const wxString& entry, long *value, const wxString& file)
{ {
char *s = NULL; char *s = NULL;
bool succ = wxGetResource(section, entry, (char **)&s, file); bool succ = wxGetResource(section, entry, (char **)&s, file);
if (succ) if (succ)
{ {
*value = strtol(s, NULL, 10); *value = strtol(s, NULL, 10);
delete[] s; delete[] s;
return TRUE; return true;
} }
else return FALSE; else return false;
} }
bool wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file) bool wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file)
{ {
char *s = NULL; char *s = NULL;
bool succ = wxGetResource(section, entry, (char **)&s, file); bool succ = wxGetResource(section, entry, (char **)&s, file);
if (succ) if (succ)
{ {
*value = (int)strtol(s, NULL, 10); *value = (int)strtol(s, NULL, 10);
delete[] s; delete[] s;
return TRUE; return true;
} }
else return FALSE; else return false;
} }
#endif // wxUSE_RESOURCES #endif // wxUSE_RESOURCES