]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/evtloop.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / gtk / evtloop.h
index d19cd557c1fd15c7b9315bbc455e771253a5452c..79cb753185edb892bba583eb9fb0f608f6b84fed 100644 (file)
@@ -15,6 +15,8 @@
 // wxGUIEventLoop for wxGTK
 // ----------------------------------------------------------------------------
 
+typedef union  _GdkEvent        GdkEvent;
+
 class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase
 {
 public:
@@ -26,11 +28,19 @@ public:
     virtual bool Dispatch();
     virtual int DispatchTimeout(unsigned long timeout);
     virtual void WakeUp();
+    virtual bool YieldFor(long eventsToProcess);
 
+    void StoreGdkEventForLaterProcessing(GdkEvent* ev)
+        { m_arrGdkEvents.Add(ev); }
+    
 protected:
+
     // the exit code of this event loop
     int m_exitcode;
 
+    // used to temporarily store events in DoYield()
+    wxArrayPtrVoid m_arrGdkEvents;
+
     wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
 };