]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix missing or broken interface items for Phoenix
authorRobin Dunn <robin@alldunn.com>
Sun, 25 Sep 2011 04:30:49 +0000 (04:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 25 Sep 2011 04:30:49 +0000 (04:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/app.h
interface/wx/dcgraph.h
interface/wx/dialog.h
interface/wx/graphics.h
interface/wx/timer.h

index 76b0d5384567d6d4585487069cf5c3e217bedb15..c17ad1c002b1e1be86fda0ef4e2c6171a96eab94 100644 (file)
@@ -221,6 +221,8 @@ public:
     //@}
 
 
+    bool Yield(bool onlyIfNeeded = false);
+
     /**
         Allows external code to modify global ::wxTheApp, but you should really
         know what you're doing if you call it.
@@ -250,7 +252,6 @@ public:
     */
     static bool IsMainLoopRunning();
 
-
     /**
         @name Callbacks for application-wide "events"
     */
index cd6a5ea3a39e3d88c4959d898f4bc9a8da7ba41d..0683c3a1fc403e620f1cf14e5ecfbe46f8d7eac9 100644 (file)
@@ -23,17 +23,17 @@ public:
     /**
        Constructs a wxGCDC from a wxWindowDC.
     */
-    wxGCDC( const wxWindowDC& dc );
+    wxGCDC( const wxWindowDC& windowDC );
 
     /**
        Constructs a wxGCDC from a wxMemoryDC.
     */
-    wxGCDC( const wxMemoryDC& dc );
+    wxGCDC( const wxMemoryDC& memoryDC );
 
     /**
        Constructs a wxGCDC from a wxPrinterDC.
     */
-    wxGCDC( const wxPrinterDC& dc );
+    wxGCDC( const wxPrinterDC& printerDC );
 
     /**
        Construct a wxGCDC from an existing grtaphics context.
@@ -49,10 +49,11 @@ public:
 
        @since 2.9.3
     */
-    wxGCDC( const wxEnhMetaFileDC& dc );
+    wxGCDC( const wxEnhMetaFileDC& emfDC );
 
     wxGCDC();
     virtual ~wxGCDC();
+    
     /**
        Retrieves associated wxGraphicsContext
     */
index 994b7d36c7f012143f0a04723ac06e4fe670df57..612892803293031d52c2a5c5ce1b4c3da7c71c95 100644 (file)
@@ -673,3 +673,13 @@ public:
     virtual bool DoLayoutAdaptation(wxDialog* dialog) = 0;
 };
 
+
+class wxWindowModalDialogEvent  : public wxCommandEvent
+{
+public:
+    wxWindowModalDialogEvent (wxEventType commandType = wxEVT_NULL, int id = 0);
+
+    wxDialog *GetDialog() const;
+    int GetReturnCode() const;
+    virtual wxEvent *Clone() const;
+};
index 7425c4a78add69012c674d3710639e57874dc883..17af72a97d1e496d5a780383a6d7ffae71376406 100644 (file)
@@ -116,12 +116,12 @@ public:
         @return @true if the point is within the path.
     */
     bool Contains(const wxPoint2DDouble& c,
-                  int fillStyle = wxODDEVEN_RULE) const;
+                  wxPolygonFillMode fillStyle = wxODDEVEN_RULE) const;
     /**
         @return @true if the point is within the path.
     */
     virtual bool Contains(wxDouble x, wxDouble y,
-                          int fillStyle = wxODDEVEN_RULE) const;
+                          wxPolygonFillMode fillStyle = wxODDEVEN_RULE) const;
 
     /**
         Gets the bounding box enclosing all points (possibly including control
index e74e836b926a664698ad24f95ce9ab3f5498ed19..07fbccff35cc09cf566f147cebf313c3d8da367e 100644 (file)
@@ -6,6 +6,15 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+// generate notifications periodically until the timer is stopped (default)
+#define wxTIMER_CONTINUOUS false
+
+// only send the notification once and then stop the timer
+#define wxTIMER_ONE_SHOT true
+
+wxEventType wxEVT_TIMER;
+
+
 /**
     @class wxTimer
 
@@ -131,6 +140,19 @@ public:
 };
 
 
+/**
+   @class wxTimerRunner
+
+   Starts the timer in its ctor, stops in the dtor.
+*/ 
+class wxTimerRunner
+{
+public:
+    wxTimerRunner(wxTimer& timer);
+    wxTimerRunner(wxTimer& timer, int milli, bool oneShot = false);
+    void Start(int milli, bool oneShot = false);
+    ~wxTimerRunner();
+};
 
 /**
     @class wxTimerEvent