nobody at rubyforge.org
2007-Mar-28 17:26 UTC
[Wxruby-development] [924] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API; remove deprecated methods and update doc
<!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>[924] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API;
remove deprecated methods and update doc</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>924</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-03-28 13:26:43 -0400 (Wed, 28 Mar
2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>Changes 2.6 -> 2.8 Wx API; remove deprecated methods and update
doc</pre>
<h3>Modified Paths</h3>
<ul>
<li><a
href="#brancheswxruby2wxwidgets_282doctextiledirdialogtxtl">branches/wxruby2/wxwidgets_282/doc/textile/dirdialog.txtl</a></li>
<li><a
href="#brancheswxruby2wxwidgets_282swigclassesincludewxDirDialogh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxDirDialog.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a
id="brancheswxruby2wxwidgets_282doctextiledirdialogtxtl"></a>
<div class="modfile"><h4>Modified:
branches/wxruby2/wxwidgets_282/doc/textile/dirdialog.txtl (923 =>
924)</h4>
<pre class="diff"><span>
<span class="info">---
branches/wxruby2/wxwidgets_282/doc/textile/dirdialog.txtl        2007-03-28
17:20:35 UTC (rev 923)
+++
branches/wxruby2/wxwidgets_282/doc/textile/dirdialog.txtl        2007-03-28
17:26:43 UTC (rev 924)
</span><span class="lines">@@ -15,10 +15,12 @@
</span><span class="cx"> h2. Window styles
</span><span class="cx">
</span><span class="cx">
</span><ins>+|@DD_DEFAULT_STYLE@|Equivalent to a combination of
DEFAULT_DIALOG_STYLE and RESIZE_BORDER (the last one is not used under WinCE).|
+|@DD_DIR_MUST_EXIST@|The dialog will allow the user to choose only an existing
folder. When this style is not given, a "Create new directory" button
is added to the dialog (on Windows) or some other way is provided to the user to
type the name of a new folder.|
+|@DD_CHANGE_DIR@|Change the current working directory to the directory chosen
by the user.|
</ins><span class="cx">
</span><del>-|@DD_DEFAULT_STYLE@|Equivalent to a combination of
DEFAULT_DIALOG_STYLE, DD_NEW_DIR_BUTTON and RESIZE_BORDER (the last one is not
used under WinCE).|
-|@DD_NEW_DIR_BUTTON@|Add "Create newdirectory" button and allow
directory names to be editable. OnWindows the new directory button is only
available with recentversions of the common dialogs.|
</del><span class="cx">
</span><ins>+*NB:* on Windows the new directory button is only
available with recent versions of the common dialogs.
</ins><span class="cx">
</span><span class="cx"> See also "Generic window
styles":windowstyles.html.
</span><span class="cx">
</span><span class="lines">@@ -33,10 +35,8 @@
</span><span class="cx"> *
"DirDialog.new":#DirDialog_new
</span><span class="cx"> *
"DirDialog#get_path":#DirDialog_getpath
</span><span class="cx"> *
"DirDialog#get_message":#DirDialog_getmessage
</span><del>-* "DirDialog#get_style":#DirDialog_getstyle
</del><span class="cx"> *
"DirDialog#set_message":#DirDialog_setmessage
</span><span class="cx"> *
"DirDialog#set_path":#DirDialog_setpath
</span><del>-* "DirDialog#set_style":#DirDialog_setstyle
</del><span class="cx"> *
"DirDialog#show_modal":#DirDialog_showmodal
</span><span class="cx">
</span><span class="cx"> </div>
</span><span class="lines">@@ -80,12 +80,6 @@
</span><span class="cx">
</span><span class="cx"> Returns the message that will be
displayed on the dialog.
</span><span class="cx">
</span><del>-h3(#DirDialog_getstyle). DirDialog#get_style
-
- Integer *get_style*()
-
-Returns the dialog style.
-
</del><span class="cx"> h3(#DirDialog_setmessage).
DirDialog#set_message
</span><span class="cx">
</span><span class="cx">
*set_message*(%(arg-type)String% message)
</span><span class="lines">@@ -98,12 +92,6 @@
</span><span class="cx">
</span><span class="cx"> Sets the default path.
</span><span class="cx">
</span><del>-h3(#DirDialog_setstyle). DirDialog#set_style
-
- *set_style*(%(arg-type)Integer% style)
-
-Sets the dialog style. This is currently unused.
-
</del><span class="cx"> h3(#DirDialog_showmodal).
DirDialog#show_modal
</span><span class="cx">
</span><span class="cx"> Integer *show_modal*()
</span></span></pre></div>
<a
id="brancheswxruby2wxwidgets_282swigclassesincludewxDirDialogh"></a>
<div class="modfile"><h4>Modified:
branches/wxruby2/wxwidgets_282/swig/classes/include/wxDirDialog.h (923 =>
924)</h4>
<pre class="diff"><span>
<span class="info">---
branches/wxruby2/wxwidgets_282/swig/classes/include/wxDirDialog.h        2007-03-28
17:20:35 UTC (rev 923)
+++
branches/wxruby2/wxwidgets_282/swig/classes/include/wxDirDialog.h        2007-03-28
17:26:43 UTC (rev 924)
</span><span class="lines">@@ -1,54 +1,18 @@
</span><del>-// wxDirDialog.h
-// This file was automatically generated
-// by extractxml.rb, part of the wxRuby project
-// Do not make changes directly to this file!
</del><ins>+// Copyright 2004-2007 by Kevin Smith
+// released under the MIT-style wxruby2 license
</ins><span class="cx">
</span><span class="cx"> #if !defined(_wxDirDialog_h_)
</span><span class="cx"> #define _wxDirDialog_h_
</span><ins>+
</ins><span class="cx"> class wxDirDialog : public
wxDialog
</span><span class="cx"> {
</span><span class="cx"> public:
</span><del>-        /**
-         *
\brief Constructor. Use to show
-the dialog.
-         *
\param wxWindow*
-         *
\param const wxString&
-         *
\param const wxString&
-         *
\param long
-         *
\param const wxPoint&
-         *
\param const wxSize&
-         *
\param const wxString&
-        */
-
</del><span class="cx"> wxDirDialog(wxWindow* parent ,
const wxString& message = wxT("Choose"), const wxString&
defaultPath = wxT(""), long style = 0, const wxPoint& pos =
wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxString&
name = wxT("wxDirCtrl")) ;
</span><del>-        /**
-         *
\brief Destructor.
-        */
-
</del><span class="cx"> virtual ~wxDirDialog() ;
</span><del>-        /**
-         *
\brief Returns the default or user-selected path.
-        */
-
</del><span class="cx"> wxString GetPath() const;
</span><del>-        /**
-         *
\brief Returns the message that will be displayed on the dialog.
-        */
-
</del><span class="cx"> wxString GetMessage() const;
</span><del>-
</del><span class="cx"> void SetMessage(const
wxString& message ) ;
</span><del>-        /**
-         *
\brief Sets the default path.
-         *
\param const wxString&
-        */
-
</del><span class="cx"> void SetPath(const wxString&
path ) ;
</span><del>-        /**
-         *
\brief Shows the dialog, returning wxID_OK if the user pressed OK, and
wxOK_CANCEL
-otherwise.
-        */
-
</del><span class="cx"> int ShowModal() ;
</span><span class="cx"> };
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>
Apparently Analagous Threads
- [883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
- [950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
- [954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
- [926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
- [977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
