nobody at rubyforge.org
2007-Apr-30 21:25 UTC
[Wxruby-development] [996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } #msg dt { float: left; width: 6em; font-weight: bold; } #msg dt:after { content:'':'';} #msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } #msg dl a { font-weight: bold} #msg dl a:link { color:#fc3; } #msg dl a:active { color:#ff0; } #msg dl a:visited { color:#cc6; } h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; } #msg ul, pre { overflow: auto; } #header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } #patch { width: 100%; } #patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;} #patch .propset h4, #patch .binary h4 {margin:0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;} #patch .propset .diff, #patch .binary .diff {padding:10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>996</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-30 17:25:48 -0400 (Mon, 30 Apr 2007)</dd> </dl> <h3>Log Message</h3> <pre>TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282doctextiletoplevelwindowtxtl">branches/wxruby2/wxwidgets_282/doc/textile/toplevelwindow.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxTopLevelWindowh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxTopLevelWindow.h</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextiletoplevelwindowtxtl"></a> <div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/doc/textile/toplevelwindow.txtl (995 => 996)</h4> <pre class="diff"><span> <span class="info">--- branches/wxruby2/wxwidgets_282/doc/textile/toplevelwindow.txtl        2007-04-29 16:54:31 UTC (rev 995) +++ branches/wxruby2/wxwidgets_282/doc/textile/toplevelwindow.txtl        2007-04-30 21:25:48 UTC (rev 996) </span><span class="lines">@@ -1,6 +1,6 @@ </span><span class="cx"> h1(#wxtoplevelwindow). Wx::TopLevelWindow </span><span class="cx"> </span><del>-TopLevelWindow is a common base class for "Dialog":dialog.html and </del><ins>+TopLevelWindow is a common base class for "Dialog":dialog.html and </ins><span class="cx"> "Frame":frame.html. It is an abstract base class meaning that you never </span><span class="cx"> work with objects of this class directly, but all of its methods are also </span><span class="cx"> applicable for the two classes above. </span><span class="lines">@@ -17,28 +17,72 @@ </span><span class="cx"> </span><span class="cx"> h2. Methods </span><span class="cx"> </span><ins>+* "TopLevelWindow#can_set_transparent":#TopLevelWindow_cansettransparent +* "TopLevelWindow#enable_close_button":#TopLevelWindow_enableclosebutton +* "TopLevelWindow#get_default_item":#TopLevelWindow_getdefaultitem </ins><span class="cx"> * "TopLevelWindow#get_icon":#TopLevelWindow_geticon </span><span class="cx"> * "TopLevelWindow#get_icons":#TopLevelWindow_geticons </span><span class="cx"> * "TopLevelWindow#get_title":#TopLevelWindow_gettitle </span><ins>+* "TopLevelWindow#handle_setting_change":#TopLevelWindow_handlesettingchange </ins><span class="cx"> * "TopLevelWindow#is_active":#TopLevelWindow_isactive </span><ins>+* "TopLevelWindow#is_always_maximized":#TopLevelWindow_isalwaysmaximized </ins><span class="cx"> * "TopLevelWindow#iconize":#TopLevelWindow_iconize </span><span class="cx"> * "TopLevelWindow#is_full_screen":#TopLevelWindow_isfullscreen </span><span class="cx"> * "TopLevelWindow#is_iconized":#TopLevelWindow_isiconized </span><span class="cx"> * "TopLevelWindow#is_maximized":#TopLevelWindow_ismaximized </span><ins>+* "TopLevelWindow#is_using_native_decorations":#TopLevelWindow_isusingnativedecorations </ins><span class="cx"> * "TopLevelWindow#maximize":#TopLevelWindow_maximize </span><span class="cx"> * "TopLevelWindow#request_user_attention":#TopLevelWindow_requestuserattention </span><ins>+* "TopLevelWindow#set_default_item":#TopLevelWindow_setdefaultitem </ins><span class="cx"> * "TopLevelWindow#set_icon":#TopLevelWindow_seticon </span><span class="cx"> * "TopLevelWindow#set_icons":#TopLevelWindow_seticons </span><span class="cx"> * "TopLevelWindow#set_left_menu":#TopLevelWindow_setleftmenu </span><ins>+* "TopLevelWindow#set_max_size":#TopLevelWindow_setmaxsize +* "TopLevelWindow#set_min_size":#TopLevelWindow_setminsize +* "TopLevelWindow#set_size_hints":#TopLevelWindow_setsizehints </ins><span class="cx"> * "TopLevelWindow#set_right_menu":#TopLevelWindow_setrightmenu </span><span class="cx"> * "TopLevelWindow#set_shape":#TopLevelWindow_setshape </span><span class="cx"> * "TopLevelWindow#set_title":#TopLevelWindow_settitle </span><ins>+* "TopLevelWindow#set_transparent":#TopLevelWindow_settransparent +* "TopLevelWindow#should_prevent_app_exit":#TopLevelWindow_shouldpreventappexit </ins><span class="cx"> * "TopLevelWindow#show_full_screen":#TopLevelWindow_showfullscreen </span><ins>+* "TopLevelWindow#use_native_decorations":#TopLevelWindow_usenativedecorations +* "TopLevelWindow#use_native_decorations_by_default":#TopLevelWindow_usenativedecorationsbydefault </ins><span class="cx"> </span><span class="cx"> </div> </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_cansettransparent). TopLevelWindow#can_set_transparent </ins><span class="cx"> </span><ins>+ Boolean *can_set_transparent*() + +Returns if the platform supports making the window translucent. + +h4. See also + +"TopLevelWindow#set_transparent":toplevelwindow.html#TopLevelWindow_settransparent + + +h3(#wxtoplevelenableclosebutton). TopLevelWindow#enable_close_button + + Boolean *enable_close_button*(%(arg-type)Boolean% enable = true) + +Enables or disables the Close button (most often in the right +upper corner of a dialog) and the Close entry of the system +menu (most often in the left upper corner of the dialog). +Currently only implemented for MSW and GTK. Returns +true if operation was successful. This may be wrong on +X11 (including GTK+) where the window manager may not support +this operation and there is no way to find out. + +h3(#TopLevelWindow_getdefaultitem). TopLevelWindow#get_default_item + + "Window":window.html *get_default_item*() + +Returns a pointer to the button which is the default for this window, or . +The default button is the one activated by pressing the Enter key. + + </ins><span class="cx"> h3(#TopLevelWindow_geticon). TopLevelWindow#get_icon </span><span class="cx"> </span><span class="cx"> "Icon":icon.html *get_icon*() </span><span class="lines">@@ -56,7 +100,7 @@ </span><span class="cx"> "IconBundle":iconbundle.html *get_icons*() </span><span class="cx"> </span><span class="cx"> Returns all icons associated with the window, there will be none of them if </span><del>-neither "set_icon":#TopLevelWindow_seticon nor </del><ins>+neither "set_icon":#TopLevelWindow_seticon nor </ins><span class="cx"> "set_icons":#TopLevelWindow_seticons had been called before. </span><span class="cx"> </span><span class="cx"> Use "get_icon":#TopLevelWindow_geticon to get the main icon of the </span><span class="lines">@@ -73,9 +117,20 @@ </span><span class="cx"> </span><span class="cx"> Gets a string containing the window title. </span><span class="cx"> </span><del>-See "TopLevelWindow#set_title":toplevelwindow.html#TopLevelWindow_settitle. </del><ins>+h4. See also </ins><span class="cx"> </span><ins>+"TopLevelWindow#set_title":toplevelwindow.html#TopLevelWindow_settitle </ins><span class="cx"> </span><ins>+ +h3(#TopLevelWindow_handlesettingchange). TopLevelWindow#handle_setting_change + + Boolean *handle_setting_change*(%(arg-type)WPARAM% wParam, %(arg-type)LPARAM% lParam) + +Unique to the WinCE port. Responds to showing/hiding SIP (soft input panel) area and resize +window accordingly. Override this if you want to avoid resizing or do additional +operations. + + </ins><span class="cx"> h3(#TopLevelWindow_isactive). TopLevelWindow#is_active </span><span class="cx"> </span><span class="cx"> Boolean *is_active*() </span><span class="lines">@@ -84,6 +139,14 @@ </span><span class="cx"> working with it. </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_isalwaysmaximized). TopLevelWindow#is_always_maximized + + Boolean *is_always_maximized*() + +Returns if this window is expected to be always maximized, either due to platform policy +or due to local policy regarding particular class. + + </ins><span class="cx"> h3(#TopLevelWindow_iconize). TopLevelWindow#iconize </span><span class="cx"> </span><span class="cx"> *iconize*(%(arg-type)Boolean% iconize) </span><span class="lines">@@ -124,6 +187,22 @@ </span><span class="cx"> Returns if the window is maximized. </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_isusingnativedecorations). TopLevelWindow#is_using_native_decorations + + Boolean *is_using_native_decorations*() + +This method is specific to Universal port + +Returns if this window is using native decorations, if we draw +them ourselves. + +h4. See also + +"use_native_decorations":#TopLevelWindow_usenativedecorations, + +"use_native_decorations_by_default":#TopLevelWindow_usenativedecorationsbydefault + + </ins><span class="cx"> h3(#TopLevelWindow_maximize). TopLevelWindow#maximize </span><span class="cx"> </span><span class="cx"> *maximize*(%(arg-type)Boolean% maximize) </span><span class="lines">@@ -157,6 +236,17 @@ </span><span class="cx"> window icon in the taskbar, and for GTK with task bars supporting it. </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_setdefaultitem). TopLevelWindow#set_default_item + + *set_default_item*(%(arg-type)Window% win) + +Changes the default item for the panel, usually win is a button. + +h4. See also + +"get_default_item":#TopLevelWindow_getdefaultitem + + </ins><span class="cx"> h3(#TopLevelWindow_seticon). TopLevelWindow#set_icon </span><span class="cx"> </span><span class="cx"> *set_icon*(%(arg-type)Icon% icon) </span><span class="lines">@@ -213,6 +303,43 @@ </span><span class="cx"> "TopLevelWindow#set_right_menu":toplevelwindow.html#TopLevelWindow_setrightmenu. </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_setmaxsize). TopLevelWindow#set_max_size + + *set_max_size*(%(arg-type)Size% size) + +A simpler interface for setting the size hints than +"set_size_hints":#TopLevelWindow_setsizehints. + +h3(#TopLevelWindow_setminsize). TopLevelWindow#set_min_size + + *set_min_size*(%(arg-type)Size% size) + +A simpler interface for setting the size hints than +"set_size_hints":#TopLevelWindow_setsizehints. + +h3(#TopLevelWindow_setsizehints). TopLevelWindow#set_size_hints + + *set_size_hints*(%(arg-type)Integer% minW, %(arg-type)Integer% minH, %(arg-type)Integer% maxW=-1, + %(arg-type)Integer% maxH=-1, + %(arg-type)Integer% incW=-1, + %(arg-type)Integer% incH=-1) + + *set_size_hints*(%(arg-type)Size% minSize, %(arg-type)Size% maxSize=DefaultSize, + %(arg-type)Size% incSize=DefaultSize) + +Allows specification of minimum and maximum window sizes, and window size increments. +If a pair of values is not set (or set to -1), the default values will be used. + +* _incW_ Specifies the increment for sizing the width (Motif/Xt only). +* _incH_ Specifies the increment for sizing the height (Motif/Xt only). +* _incSize_ Increment size (Motif/Xt only). + +h4. Remarks + +If this function is called, the user will not be able to size the window outside +the given bounds. The resizing increments are only significant under Motif or Xt. + + </ins><span class="cx"> h3(#TopLevelWindow_setrightmenu). TopLevelWindow#set_right_menu </span><span class="cx"> </span><span class="cx"> *set_right_menu*(%(arg-type)Integer% id = ID_ANY, %(arg-type)String% label = '''', </span><span class="lines">@@ -240,7 +367,7 @@ </span><span class="cx"> depicted by _region_. The system will not display or </span><span class="cx"> respond to any mouse event for the pixels that lie outside of the </span><span class="cx"> region. To reset the window to the normal rectangular shape simply </span><del>-call _SetShape_ again with an empty region. Returns TRUE if the </del><ins>+call _SetShape_ again with an empty region. Returns true if the </ins><span class="cx"> operation is successful. </span><span class="cx"> </span><span class="cx"> </span><span class="lines">@@ -259,6 +386,34 @@ </span><span class="cx"> "TopLevelWindow#get_title":toplevelwindow.html#TopLevelWindow_gettitle </span><span class="cx"> </span><span class="cx"> </span><ins>+h3(#TopLevelWindow_settransparent). TopLevelWindow#set_transparent + + Boolean *set_transparent*(%(arg-type)Integer% alpha) + +If the platform supports it will set the window to be translucent + +h4. Parameters + +* _alpha_ Determines how opaque or transparent the window will + be, if the platform supports the opreration. A value of 0 sets the + window to be fully transparent, and a value of 255 sets the window + to be fully opaque. + +Returns if the transparency was successfully changed. + + + +h3(#TopLevelWindow_shouldpreventappexit). TopLevelWindow#should_prevent_app_exit + + Boolean *should_prevent_app_exit*() + +This virtual function is not meant to be called directly but can be overridden +to return (it returns by default) to allow the application to +close even if this, presumably not very important, window is still opened. +By default, the application stays alive as long as there are any open top level +windows. + + </ins><span class="cx"> h3(#TopLevelWindow_showfullscreen). TopLevelWindow#show_full_screen </span><span class="cx"> </span><span class="cx"> Boolean *show_full_screen*(%(arg-type)Boolean% show, %(arg-type)Integer% style = FULLSCREEN_ALL) </span><span class="lines">@@ -286,3 +441,47 @@ </span><span class="cx"> </span><span class="cx"> "TopLevelWindow#is_full_screen":toplevelwindow.html#TopLevelWindow_isfullscreen </span><span class="cx"> </span><ins>+ +h3(#TopLevelWindow_usenativedecorations). TopLevelWindow#use_native_decorations + + *use_native_decorations*(%(arg-type)Boolean% native = ) + +This method is specific to Universal port + +Use native or custom-drawn decorations for this window only. Notice that to +have any effect this method must be called before really creating the window, +i.e. two step creation must be used: + + MyFrame *frame = new MyFrame; // use default ctor + frame->UseNativeDecorations(false); // change from default "true" + frame->Create(parent, title, ...); // really create the frame + + +h4. See also + +"use_native_decorations_by_default":#TopLevelWindow_usenativedecorationsbydefault, + +"is_using_native_decorations":#TopLevelWindow_isusingnativedecorations + + +h3(#TopLevelWindow_usenativedecorationsbydefault). TopLevelWindow#use_native_decorations_by_default + + *use_native_decorations_by_default*(%(arg-type)Boolean% native = ) + +This method is specific to Universal port + +Top level windows in Universal port can use either system-provided window +decorations (i.e. title bar and various icons, buttons and menus in it) or draw +the decorations themselves. By default the system decorations are used if they +are available, but this method can be called with native set to to +change this for all windows created after this point. + +Also note that if @WXDECOR@ environment variable is set, then custom +decorations are used by default and so it may make sense to call this method +with default argument if the application can''t use custom decorations at all +for some reason. + +h4. See also + +"use_native_decorations":#TopLevelWindow_usenativedecorations + </ins></span></pre></div> <a id="brancheswxruby2wxwidgets_282swigclassesincludewxTopLevelWindowh"></a> <div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/swig/classes/include/wxTopLevelWindow.h (995 => 996)</h4> <pre class="diff"><span> <span class="info">--- branches/wxruby2/wxwidgets_282/swig/classes/include/wxTopLevelWindow.h        2007-04-29 16:54:31 UTC (rev 995) +++ branches/wxruby2/wxwidgets_282/swig/classes/include/wxTopLevelWindow.h        2007-04-30 21:25:48 UTC (rev 996) </span><span class="lines">@@ -14,42 +14,27 @@ </span><span class="cx"> </span><span class="cx"> // top level wnd state </span><span class="cx"> // -------------------- </span><del>- /** - * \brief Returns a pointer to the button which is the default for this window, or NULL. - The default button is the one activated by pressing the Enter key. - */ - - wxWindow* GetDefaultItem() const; - /** - * \brief Changes the default item for the panel. - * \param wxWindow - */ - - void SetDefaultItem(wxWindow *btn ) ; - virtual wxString GetTitle() const; - virtual void SetTitle(const wxString& title ) ; - </del><span class="cx"> // maximize = true => maximize, otherwise - restore </span><del>- virtual void Maximize(bool maximize = true) = 0; </del><ins>+ virtual void Maximize(bool maximize = true); </ins><span class="cx"> </span><span class="cx"> // undo Maximize() or Iconize() </span><del>- virtual void Restore() = 0; </del><ins>+ virtual void Restore(); </ins><span class="cx"> </span><span class="cx"> // iconize = true => iconize, otherwise - restore </span><del>- virtual void Iconize(bool iconize = true) = 0; </del><ins>+ virtual void Iconize(bool iconize = true); </ins><span class="cx"> </span><span class="cx"> // return true if the frame is maximized </span><del>- virtual bool IsMaximized() const = 0; - </del><ins>+ virtual bool IsMaximized() const; +        virtual bool IsAlwaysMaximized() const; </ins><span class="cx"> // return true if the frame is iconized </span><del>- virtual bool IsIconized() const = 0; </del><ins>+ virtual bool IsIconized() const; </ins><span class="cx"> </span><span class="cx"> // get the frame icon </span><span class="cx"> const wxIcon& GetIcon() const; </span><span class="cx"> </span><span class="cx"> // get the frame icons </span><span class="cx"> const wxIconBundle& GetIcons() const; </span><del>- </del><ins>+         </ins><span class="cx"> // set the frame icon </span><span class="cx"> virtual void SetIcon(const wxIcon& icon); </span><span class="cx"> </span><span class="lines">@@ -57,31 +42,43 @@ </span><span class="cx"> virtual void SetIcons(const wxIconBundle& icons ); </span><span class="cx"> </span><span class="cx"> // maximize the window to cover entire screen </span><del>- virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) = 0; </del><ins>+ virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); </ins><span class="cx"> </span><span class="cx"> // return true if the frame is in fullscreen mode </span><del>- virtual bool IsFullScreen() const = 0; </del><ins>+ virtual bool IsFullScreen() const; </ins><span class="cx"> </span><del>- /* - for now we already have them in wxWindow, but this is wrong: these - methods really only make sense for wxTopLevelWindow! </del><ins>+        // frame title + virtual wxString GetTitle() const; + virtual void SetTitle(const wxString& title ) ; +         +        // switch on or off close button +        virtual bool EnableCloseButton(bool enable = true); </ins><span class="cx"> </span><del>- virtual void SetTitle(const wxString& title) = 0; - virtual wxString GetTitle() const = 0; - */ - </del><span class="cx"> // Set the shape of the window to the given region. </span><del>- // Returns true if the platform supports this feature (and the - // operation is successful.) </del><span class="cx"> virtual bool SetShape(const wxRegion& region); </span><span class="cx"> </span><span class="cx"> // Attracts the users attention to this window if the application is </span><span class="cx"> // inactive (should be called when a background event occurs) </span><span class="cx"> virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); </span><span class="cx"> </span><ins>+        virtual bool ShouldPreventAppExit() const { return true }; + </ins><span class="cx"> // Is this the active frame (highlighted in the taskbar)? </span><span class="cx"> virtual bool IsActive(); </span><span class="cx"> </span><ins>+ // centre the window on screen: this is just a shortcut + void CentreOnScreen(int dir = wxBOTH) { DoCentre(dir | wxCENTRE_ON_SCREEN); } + void CenterOnScreen(int dir = wxBOTH) { CentreOnScreen(dir); } + + // used to reset default if pointing to removed child + virtual void RemoveChild(wxWindowBase *child); + +        wxWindow* GetDefaultItem() const; + void SetDefaultItem(wxWindow *btn ) ; + +        virtual bool CanSetTransparent(); +        virtual bool SetTransparent(int alpha); + </ins><span class="cx"> #if defined(__SMARTPHONE__) </span><span class="cx"> virtual void SetLeftMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0; </span><span class="cx"> virtual void SetRightMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0; </span><span class="lines">@@ -92,8 +89,8 @@ </span><span class="cx"> </span><span class="cx"> // override some base class virtuals </span><span class="cx"> virtual bool Destroy(); </span><del>- virtual bool IsTopLevel() const; - virtual wxSize GetMaxSize() const; </del><ins>+ virtual bool IsTopLevel() const { return true; } + virtual bool IsVisible() const { return IsShown(); } </ins><span class="cx"> </span><span class="cx"> // event handlers </span><span class="cx"> void OnCloseWindow(wxCloseEvent& event); </span><span class="lines">@@ -109,6 +106,22 @@ </span><span class="cx"> // do the window-specific processing after processing the update event </span><span class="cx"> virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ; </span><span class="cx"> </span><ins>+ // a different API for SetSizeHints +        virtual void SetMaxSize(const wxSize& size); +        virtual void SetMinSize(const wxSize& size); + + // set size hints for "window manager" + virtual void DoSetSizeHints( int minW, int minH, + int maxW = wxDefaultCoord, int maxH = wxDefaultCoord, + int incW = wxDefaultCoord, int incH = wxDefaultCoord ); + +        // only for Win CE +        //        virtual bool HandleSettingChange(WXWPARAM wParam, WXLPARAM lParam); + +        // only for wx UNIVERSAL +        // bool IsUsingNativeDecorations() const; +        // void UseNativeDecorations(bool native = true); +        // void UseNativeDecorationsByDefault(bool native = true); </ins><span class="cx"> }; </span><span class="cx"> </span><span class="cx"> </span></span></pre> </div> </div> </body> </html>
Seemingly Similar Threads
- [963] branches/wxruby2/wxwidgets_282/doc/textile/dialog.txtl: Added a few missing methods and cleaned up a bit.
- [1114] trunk/wxruby2/swig/classes/include: Added missing methods from the 2.6 to 2.8 upgrade.
- [1105] trunk/wxruby2/doc/textile/button.txtl: 2.8 documentation update reflecting where set_default_item now lies
- [934] branches/wxruby2/wxwidgets_282: Rename OnAssert to OnAssertFailure, reflecting wx 2.8 API
- [926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc