git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
36 files changed:
-//---------------------------------------------------------------------------
-// Includes
-//---------------------------------------------------------------------------
-#include "wx/mediactrl.h"
-
//---------------------------------------------------------------------------
// Compilation guard
//---------------------------------------------------------------------------
#if wxUSE_MEDIACTRL
//---------------------------------------------------------------------------
// Compilation guard
//---------------------------------------------------------------------------
#if wxUSE_MEDIACTRL
+#include "wx/mediactrl.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/timer.h"
+#endif
+
//===========================================================================
// BACKEND DECLARATIONS
//===========================================================================
//===========================================================================
// BACKEND DECLARATIONS
//===========================================================================
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
#include <QuickTime/QuickTime.h>
#include "wx/cocoa/autorelease.h"
#include <QuickTime/QuickTime.h>
#include "wx/cocoa/autorelease.h"
#endif
#include "wx/cocoa/autorelease.h"
#endif
#include "wx/cocoa/autorelease.h"
{
m_timer->Notify(); //wxTimerBase method
}
{
m_timer->Notify(); //wxTimerBase method
}
// ----------------------------------------------------------------------------
// wxTimer
// ----------------------------------------------------------------------------
// wxTimer
bool wxTimer::Start(int millisecs, bool oneShot)
{
Stop();
bool wxTimer::Start(int millisecs, bool oneShot)
{
Stop();
wxAutoNSAutoreleasePool thePool;
wxNSTimerData *timerData = [[wxNSTimerData alloc] initWithWxTimer:this];
wxAutoNSAutoreleasePool thePool;
wxNSTimerData *timerData = [[wxNSTimerData alloc] initWithWxTimer:this];
- m_cocoaNSTimer = [[NSTimer
+ m_cocoaNSTimer = [[NSTimer
scheduledTimerWithTimeInterval: millisecs / 1000.0 //seconds
scheduledTimerWithTimeInterval: millisecs / 1000.0 //seconds
- target: timerData
- selector: @selector(onNotify:)
- userInfo: nil
- repeats: oneShot == false] retain];
+ target: timerData
+ selector: @selector(onNotify:)
+ userInfo: nil
+ repeats: oneShot == false] retain];
#include "wx/dcclient.h"
#include "wx/settings.h"
#include "wx/dialog.h"
#include "wx/dcclient.h"
#include "wx/settings.h"
#include "wx/dialog.h"
#endif
#include "wx/dcbuffer.h"
#include "wx/tooltip.h"
#endif
#include "wx/dcbuffer.h"
#include "wx/tooltip.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#endif
#include "wx/apptrait.h"
#endif
#include "wx/apptrait.h"
#include "wx/module.h"
#include "wx/sckaddr.h"
#include "wx/module.h"
#include "wx/sckaddr.h"
#include "wx/sizer.h"
#include "wx/log.h"
#include "wx/dcclient.h"
#include "wx/sizer.h"
#include "wx/log.h"
#include "wx/dcclient.h"
#endif
#include "wx/stockitem.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/renderer.h"
#endif
#include "wx/stockitem.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/renderer.h"
#include "wx/settings.h"
#ifdef __WXMSW__
#include "wx/settings.h"
#ifdef __WXMSW__
#include "wx/utils.h"
#include "wx/panel.h"
#include "wx/dcclient.h"
#include "wx/utils.h"
#include "wx/panel.h"
#include "wx/dcclient.h"
-#endif
-
-#if wxUSE_TIMER
- #include "wx/timer.h"
+ #if wxUSE_TIMER
+ #include "wx/timer.h"
+ #endif
#endif
#include "wx/sizer.h"
#endif
#include "wx/sizer.h"
+#if wxUSE_TIPWINDOW
+
+#include "wx/tipwin.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#ifdef __WXGTK__
#include <gtk/gtk.h>
#endif
#ifdef __WXGTK__
#include <gtk/gtk.h>
#endif
-#include "wx/tipwin.h"
-
-#if wxUSE_TIPWINDOW
#include "wx/settings.h"
// ----------------------------------------------------------------------------
#include "wx/settings.h"
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#endif
#include "wx/generic/treectlg.h"
#endif
#include "wx/generic/treectlg.h"
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dialog.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dialog.h"
#endif
#include "wx/control.h"
#include "wx/gtk/private.h"
#endif
#include "wx/control.h"
#include "wx/gtk/private.h"
#include "wx/settings.h"
#include "wx/evtloop.h"
#include "wx/settings.h"
#include "wx/evtloop.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dialog.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dialog.h"
#endif
#include "wx/control.h"
#include "wx/gtk1/private.h"
#endif
#include "wx/control.h"
#include "wx/gtk1/private.h"
#include "wx/settings.h"
#include "wx/evtloop.h"
#include "wx/settings.h"
#include "wx/evtloop.h"
#include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/dcmemory.h"
#include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/dcmemory.h"
#endif
#include "wx/html/htmlwin.h"
#include "wx/html/htmlproc.h"
#include "wx/clipbrd.h"
#include "wx/dataobj.h"
#endif
#include "wx/html/htmlwin.h"
#include "wx/html/htmlproc.h"
#include "wx/clipbrd.h"
#include "wx/dataobj.h"
#include "wx/settings.h"
#include "wx/arrimpl.cpp"
#include "wx/settings.h"
#include "wx/arrimpl.cpp"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#endif
#include "wx/apptrait.h"
#endif
#include "wx/apptrait.h"
#include "wx/module.h"
#include "wx/sckaddr.h"
#include "wx/module.h"
#include "wx/sckaddr.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#endif
// uma is for wxMacFSSpec
#include "wx/mac/uma.h"
#endif
// uma is for wxMacFSSpec
#include "wx/mac/uma.h"
// standard QT stuff
#ifndef __DARWIN__
// standard QT stuff
#ifndef __DARWIN__
#include "wx/string.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/string.h"
#include "wx/intl.h"
#include "wx/log.h"
#endif
#include "wx/file.h"
#endif
#include "wx/file.h"
// Carbon QT Implementation Details -
//
// Carbon QT Implementation Details -
//
#include "wx/app.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/app.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/geometry.h"
#include "wx/mac/uma.h"
#include "wx/geometry.h"
#include "wx/mac/uma.h"
+#endif // wxUSE_TOOLTIPS
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/dynarray.h"
#endif
#ifndef WX_PRECOMP
#include "wx/dynarray.h"
#endif
IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler)
#ifdef __WXMAC__
IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler)
#ifdef __WXMAC__
#include "wx/app.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/app.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/geometry.h"
#include "wx/mac/uma.h"
#include "wx/geometry.h"
#include "wx/mac/uma.h"
#include "wx/window.h"
#include "wx/app.h"
#include "wx/thread.h"
#include "wx/window.h"
#include "wx/app.h"
#include "wx/thread.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
#include "wx/mgl/private.h"
// ----------------------------------------------------------------------------
#include "wx/mgl/private.h"
// ----------------------------------------------------------------------------
#if wxUSE_SPINBTN
#include "wx/spinbutt.h"
#if wxUSE_SPINBTN
#include "wx/spinbutt.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/timer.h"
+#endif
+
#ifdef __VMS__
#pragma message disable nosimpint
#ifdef __VMS__
#pragma message disable nosimpint
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/frame.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/frame.h"
#endif
#include "wx/settings.h"
#endif
#include "wx/settings.h"
#ifdef __VMS__
#pragma message disable nosimpint
#ifdef __VMS__
#pragma message disable nosimpint
#include "wx/intl.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/generic/choicdgg.h"
#include "wx/dynlib.h"
#include "wx/generic/choicdgg.h"
#include "wx/dynlib.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/dynlib.h"
//---------------------------------------------------------------------------
#include "wx/dynlib.h"
//---------------------------------------------------------------------------
// team I believe
#define MOVIE_DELAY 20
// team I believe
#define MOVIE_DELAY 20
-#include "wx/timer.h"
-
-
//---------------------------------------------------------------------------
// wxQTLoadTimer
//
//---------------------------------------------------------------------------
// wxQTLoadTimer
//
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/dynlib.h"
#include "wx/stopwatch.h"
#include "wx/dynlib.h"
#include "wx/stopwatch.h"
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#include "wx/msw/private.h"
// ----------------------------------------------------------------------------
#include "wx/msw/private.h"
// ----------------------------------------------------------------------------
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#endif //WX_PRECOMP
#include "wx/msw/registry.h"
#endif //WX_PRECOMP
#include "wx/msw/registry.h"
#include <winsock.h>
#endif
#include <winsock.h>
#endif
#if !defined(__GNUWIN32__) && !defined(__SALFORDC__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
#include <direct.h>
#if !defined(__GNUWIN32__) && !defined(__SALFORDC__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
#include <direct.h>
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#include "wx/os2/private.h"
#include "wx/os2/private.h"
#include <time.h>
#include <sys/types.h>
#include <time.h>
#include <sys/types.h>
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/cursor.h"
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/cursor.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#include "wx/os2/private.h" // includes <windows.h>
#include "wx/os2/private.h" // includes <windows.h>
// ----------------------------------------------------------------------------
// Sleep for nSecs seconds. Attempt a Windows implementation using timers.
// ----------------------------------------------------------------------------
// Sleep for nSecs seconds. Attempt a Windows implementation using timers.
-static bool inTimer = FALSE;
+static bool inTimer = false;
class wxSleepTimer: public wxTimer
{
public:
inline void Notify()
{
class wxSleepTimer: public wxTimer
{
public:
inline void Notify()
{
Stop();
}
};
// Reading and writing resources (eg WIN.INI, .Xdefaults)
#if wxUSE_RESOURCES
Stop();
}
};
// Reading and writing resources (eg WIN.INI, .Xdefaults)
#if wxUSE_RESOURCES
-bool wxWriteResource(
- const wxString& rSection
-, const wxString& rEntry
-, const wxString& rValue
-, const wxString& rFile
-)
+bool wxWriteResource( const wxString& rSection,
+ const wxString& rEntry,
+ const wxString& rValue,
+ const wxString& rFile )
- HAB hab = 0;
- HINI hIni = 0;
+ HAB hab = 0;
+ HINI hIni = 0;
,(PSZ)WXSTRINGCAST rEntry
,(PSZ)WXSTRINGCAST rValue
));
,(PSZ)WXSTRINGCAST rEntry
,(PSZ)WXSTRINGCAST rValue
));
-bool wxWriteResource(
- const wxString& rSection
-, const wxString& rEntry
-, int lValue
-, const wxString& rFile
-)
+bool wxWriteResource( const wxString& rSection,
+ const wxString& rEntry,
+ int lValue,
+ const wxString& rFile )
wxSprintf(zBuf, "%d", lValue);
wxSprintf(zBuf, "%d", lValue);
- return wxWriteResource( rSection
- ,rEntry
- ,zBuf
- ,rFile
- );
+ return wxWriteResource( rSection, rEntry, zBuf, rFile );
-bool wxGetResource(
- const wxString& rSection
-, const wxString& rEntry
-, wxChar** ppValue
-, const wxString& rFile
-)
+bool wxGetResource( const wxString& rSection,
+ const wxString& rEntry,
+ wxChar** ppValue,
+ const wxString& rFile )
- HAB hab = 0;
- HINI hIni = 0;
- wxChar zDefunkt[] = _T("$$default");
- char zBuf[1000];
+ HAB hab = 0;
+ HINI hIni = 0;
+ wxChar zDefunkt[] = _T("$$default");
+ char zBuf[1000];
,1000
);
if (zBuf == NULL)
,1000
);
if (zBuf == NULL)
if (n == 0L || wxStrcmp(zBuf, zDefunkt) == 0)
if (n == 0L || wxStrcmp(zBuf, zDefunkt) == 0)
,1000
);
if (zBuf == NULL)
,1000
);
if (zBuf == NULL)
if (n == 0L || wxStrcmp(zBuf, zDefunkt) == 0)
if (n == 0L || wxStrcmp(zBuf, zDefunkt) == 0)
zBuf[n-1] = '\0';
}
strcpy((char*)*ppValue, zBuf);
zBuf[n-1] = '\0';
}
strcpy((char*)*ppValue, zBuf);
-bool wxGetResource(
- const wxString& rSection
-, const wxString& rEntry
-, float* pValue
-, const wxString& rFile
-)
+bool wxGetResource( const wxString& rSection,
+ const wxString& rEntry,
+ float* pValue,
+ const wxString& rFile )
- bool bSucc = wxGetResource( rSection
- ,rEntry
- ,(wxChar **)&zStr
- ,rFile
- );
+ bool bSucc = wxGetResource( rSection, rEntry, (wxChar **)&zStr, rFile );
if (bSucc)
{
*pValue = (float)wxStrtod(zStr, NULL);
if (bSucc)
{
*pValue = (float)wxStrtod(zStr, NULL);
- delete[] zStr;
- return TRUE;
- }
- else
- {
- delete[] zStr;
- return FALSE;
+
+ delete[] zStr;
+ return bSucc;
-bool wxGetResource(
- const wxString& rSection
-, const wxString& rEntry
-, long* pValue
-, const wxString& rFile
-)
+bool wxGetResource( const wxString& rSection,
+ const wxString& rEntry,
+ long* pValue,
+ const wxString& rFile )
- bool bSucc = wxGetResource( rSection
- ,rEntry
- ,(wxChar **)&zStr
- ,rFile
- );
+ bool bSucc = wxGetResource( rSection, rEntry, (wxChar **)&zStr, rFile );
if (bSucc)
{
*pValue = wxStrtol(zStr, NULL, 10);
if (bSucc)
{
*pValue = wxStrtol(zStr, NULL, 10);
- delete[] zStr;
- return TRUE;
- }
- else
- {
- delete[] zStr;
- return FALSE;
+
+ delete[] zStr;
+ return bSucc;
-bool wxGetResource(
- const wxString& rSection
-, const wxString& rEntry
-, int* pValue
-, const wxString& rFile
-)
+bool wxGetResource( const wxString& rSection,
+ const wxString& rEntry,
+ int* pValue,
+ const wxString& rFile )
- bool bSucc = wxGetResource( rSection
- ,rEntry
- ,(wxChar **)&zStr
- ,rFile
- );
+ bool bSucc = wxGetResource( rSection, rEntry, (wxChar **)&zStr, rFile );
if (bSucc)
{
*pValue = (int)wxStrtol(zStr, NULL, 10);
if (bSucc)
{
*pValue = (int)wxStrtol(zStr, NULL, 10);
- delete[] zStr;
- return TRUE;
- }
- else
- {
- delete[] zStr;
- return FALSE;
+
+ delete[] zStr;
+ return bSucc;
}
#endif // wxUSE_RESOURCES
}
#endif // wxUSE_RESOURCES
-// TRUE if we're between the above two calls
+// true if we're between the above two calls
bool wxIsBusy()
{
return (gs_wxBusyCursorCount > 0);
bool wxIsBusy()
{
return (gs_wxBusyCursorCount > 0);
// Check whether this window wants to process messages, e.g. Stop button
// in long calculations.
// Check whether this window wants to process messages, e.g. Stop button
// in long calculations.
-bool wxCheckForInterrupt(
- wxWindow* pWnd
-)
+bool wxCheckForInterrupt( wxWindow* pWnd )
- QMSG vMsg;
- HAB hab = 0;
- HWND hwndFilter = NULLHANDLE;
+ QMSG vMsg;
+ HAB hab = 0;
+ HWND hwndFilter = NULLHANDLE;
while(::WinPeekMsg(hab, &vMsg, hwndFilter, 0, 0, PM_REMOVE))
{
::WinDispatchMsg(hab, &vMsg);
}
while(::WinPeekMsg(hab, &vMsg, hwndFilter, 0, 0, PM_REMOVE))
{
::WinDispatchMsg(hab, &vMsg);
}
- return TRUE;//*** temporary?
+ return true;//*** temporary?
}
else
{
wxFAIL_MSG(_T("pWnd==NULL !!!"));
}
else
{
wxFAIL_MSG(_T("pWnd==NULL !!!"));
- return FALSE;//*** temporary?
+ return false;//*** temporary?
-// Return TRUE if we have a colour display
+// Return true if we have a colour display
bool wxColourDisplay()
{
#if 0
bool wxColourDisplay()
{
#if 0
#else
// I don't see how the PM display could not be color. Besides, this
// was leaking DCs and PSs!!! MN
#else
// I don't see how the PM display could not be color. Besides, this
// was leaking DCs and PSs!!! MN
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#ifndef WX_PRECOMP
#include "wx/list.h"
#include "wx/window.h"
#include "wx/palmos/private.h"
// from utils.cpp
#include "wx/palmos/private.h"
// from utils.cpp
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#include "wx/dynload.h"
#include "wx/confbase.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#include "wx/dynload.h"
#include "wx/confbase.h"
#include <MemoryMgr.h>
#include <DLServer.h>
#include <MemoryMgr.h>
#include <DLServer.h>
}
#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP
}
#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/filefn.h"
#include "wx/ffile.h"
#include "wx/process.h"
#include "wx/filefn.h"
#include "wx/ffile.h"
#include "wx/process.h"
#ifndef WX_PRECOMP
#include "wx/log.h" // wxLogDebug/wxLogSysError/wxLogTrace
#include "wx/app.h" // wxTheApp->argc, wxTheApp->argv
#ifndef WX_PRECOMP
#include "wx/log.h" // wxLogDebug/wxLogSysError/wxLogTrace
#include "wx/app.h" // wxTheApp->argc, wxTheApp->argv
+ #include "wx/timer.h" // wxTimer
#endif
#include "wx/thread.h" // wxMutex/wxMutexLocker
#endif
#include "wx/thread.h" // wxMutex/wxMutexLocker
-#include "wx/timer.h" // wxTimer
#ifdef __WXGTK__
# include "wx/gtk/win_gtk.h" // for <gdk/gdkx.h>/GDK_WINDOW_XWINDOW
#ifdef __WXGTK__
# include "wx/gtk/win_gtk.h" // for <gdk/gdkx.h>/GDK_WINDOW_XWINDOW
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/utils.h"
#endif
#include "wx/module.h"
#endif
#include "wx/module.h"
#include "wx/stopwatch.h"
#include <stdio.h>
#include "wx/stopwatch.h"
#include <stdio.h>
#include "wx/frame.h"
#include "wx/icon.h"
#include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/icon.h"
#include "wx/dialog.h"
#endif
#include "wx/gdicmn.h"
#include "wx/module.h"
#include "wx/memory.h"
#include "wx/evtloop.h"
#endif
#include "wx/gdicmn.h"
#include "wx/module.h"
#include "wx/memory.h"
#include "wx/evtloop.h"
#include "wx/filename.h"
#include "wx/univ/theme.h"
#include "wx/filename.h"
#include "wx/univ/theme.h"
#include "wx/hash.h"
#include "wx/app.h"
#include "wx/window.h"
#include "wx/hash.h"
#include "wx/app.h"
#include "wx/window.h"
#endif
#include "wx/tooltip.h"
#endif
#include "wx/tooltip.h"
#include "wx/module.h"
#include "wx/unix/private.h"
#include "wx/x11/private.h"
#include "wx/module.h"
#include "wx/unix/private.h"
#include "wx/x11/private.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#endif
#include "wx/evtloop.h"
#endif
#include "wx/evtloop.h"
#include "wx/x11/private.h"
#include "X11/Xatom.h"
#include "wx/x11/private.h"
#include "X11/Xatom.h"
#include "wx/button.h"
#include "wx/menu.h"
#include "wx/dialog.h"
#include "wx/button.h"
#include "wx/menu.h"
#include "wx/dialog.h"
#endif
#include "wx/layout.h"
#endif
#include "wx/layout.h"
#include "wx/x11/private.h"
#include "X11/Xutil.h"
#include "wx/x11/private.h"
#include "X11/Xutil.h"
-#if wxUSE_NANOX
-// For wxGetLocalTime, used by XButtonEventGetTime
-#include "wx/timer.h"
-#endif
-
#include <string.h>
// ----------------------------------------------------------------------------
#include <string.h>
// ----------------------------------------------------------------------------