]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/event.h
Typo
[wxWidgets.git] / interface / wx / event.h
index f26740f421cd1584745d9c8661cd937fcf81ffef..3365304b3fc2893d4fb0a4ed3aa8e65ec4a9aef3 100644 (file)
@@ -645,6 +645,12 @@ public:
             when connecting an event generated by one object to a member
             function of a different object. If it is omitted, @c this is used.
 
+        @beginWxPerlOnly
+        In wxPerl this function takes 4 arguments: @a id, @a lastid,
+        @a type, @a method; if @a method is undef, the handler is
+        disconnected.}
+        @endWxPerlOnly
+
         @see Bind<>()
     */
     void Connect(int id, int lastId, wxEventType eventType,
@@ -664,6 +670,10 @@ public:
                         wxEVT_COMMAND_MENU_SELECTED,
                         wxCommandEventHandler(MyFrame::OnQuit) );
         @endcode
+
+        @beginWxPerlOnly
+        Not supported by wxPerl.
+        @endWxPerlOnly
     */
     void Connect(int id, wxEventType eventType,
                  wxObjectEventFunction function,
@@ -676,6 +686,10 @@ public:
 
         This overload will connect the given event handler so that regardless of the
         ID of the event source, the handler will be called.
+
+        @beginWxPerlOnly
+        Not supported by wxPerl.
+        @endWxPerlOnly
     */
     void Connect(wxEventType eventType,
                  wxObjectEventFunction function,
@@ -699,6 +713,10 @@ public:
             Data associated with the event table entry.
         @param eventSink
             Object whose member function should be called.
+
+        @beginWxPerlOnly
+        Not supported by wxPerl.
+        @endWxPerlOnly
     */
     bool Disconnect(wxEventType eventType,
                     wxObjectEventFunction function,
@@ -710,6 +728,10 @@ public:
         overload for more info.
 
         This overload takes the additional @a id parameter.
+
+        @beginWxPerlOnly
+        Not supported by wxPerl.
+        @endWxPerlOnly
     */
     bool Disconnect(int id = wxID_ANY,
                     wxEventType eventType = wxEVT_NULL,
@@ -722,6 +744,11 @@ public:
         overload for more info.
 
         This overload takes an additional range of source IDs.
+
+        @beginWxPerlOnly
+        In wxPerl this function takes 3 arguments: @a id,
+        @a lastid, @a type.
+        @endWxPerlOnly
     */
     bool Disconnect(int id, int lastId,
                     wxEventType eventType,
@@ -3633,7 +3660,7 @@ public:
 
     You may wish to use this for frames to resize their child windows as appropriate.
 
-    Note that the size passed is of the whole window: call wxWindow::GetClientSize
+    Note that the size passed is of the whole window: call wxWindow::GetClientSize()
     for the area which may be used by the application.
 
     When a window is resized, usually only a small part of the window is damaged
@@ -3661,6 +3688,11 @@ public:
 
     /**
         Returns the entire size of the window generating the size change event.
+
+        This is the new total size of the window, i.e. the same size as would
+        be returned by wxWindow::GetSize() if it were called now. Use
+        wxWindow::GetClientSize() if you catch this event in a top level window
+        such as wxFrame to find the size available for the window contents.
     */
     wxSize GetSize() const;
 };