X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0392997c9ae7624382ee07a8eddc674c27e68c9..64a1451536e1917c240a8377c7672ea155e7681d:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index d0d75b07a9..3fdfdfde0f 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -57,6 +57,25 @@ void wxDisplaySize( int *width, int *height ) if (height) *height = gdk_screen_height(); } +void wxGetMousePosition( int* x, int* y ) +{ + wxFAIL_MSG( "GetMousePosition not yet implemented" ); + if (x) *x = 0; + if (y) *y = 0; +}; + +bool wxColourDisplay(void) +{ + wxFAIL_MSG( "wxColourDisplay always returns TRUE" ); + return TRUE; +} + +int wxDisplayDepth(void) +{ + wxFAIL_MSG( "wxDisplayDepth always returns 8" ); + return 8; +} + //------------------------------------------------------------------------ // user and home routines //------------------------------------------------------------------------ @@ -349,7 +368,7 @@ typedef struct { } wxEndProcessData; static void GTK_EndProcessDetector(gpointer data, gint source, - GdkInputCondition condition) + GdkInputCondition WXUNUSED(condition) ) { wxEndProcessData *proc_data = (wxEndProcessData *)data; int pid;