]> git.saurik.com Git - wxWidgets.git/commitdiff
minor fixes from the bug reports
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Oct 2000 16:10:13 +0000 (16:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Oct 2000 16:10:13 +0000 (16:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/boxsizer.tex
docs/latex/wx/dc.tex

index 2db19fd414e046a7e84f76fe99109427e5f7e49e..4fa4a2e852c9f4e66989b469940da40396b34bed 100644 (file)
@@ -44,8 +44,9 @@ a sizer and its children can be controlled by the three parameters of the Add()
 // we want to get a dialog that is stretchable because it
 // has a text ctrl at the top and two buttons at the bottom
 
 // we want to get a dialog that is stretchable because it
 // has a text ctrl at the top and two buttons at the bottom
 
-MyDialog::MyDialog(wxFrame *parent, wxWindowID id, const wxString &title ) :
-  wxDialog( parent, id, title, wxDefaultPosition, wxDefaultSize, wxDIALOG_STYLE | wxRESIZE_BORDER )
+MyDialog::MyDialog(wxFrame *parent, wxWindowID id, const wxString &title )
+        : wxDialog(parent, id, title, wxDefaultPosition, wxDefaultSize,
+                   wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
 {
   wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
 
 {
   wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
 
index 9af5f09bc430f59f9737cc652972229e8db4c52e..be5a632c3aa3291ce2475cd6d39bf8bfaa68ddb0 100644 (file)
@@ -9,6 +9,13 @@ if the device context is used as a parameter.
 Derived types of wxDC have documentation for specific features
 only, so refer to this section for most device context information.
 
 Derived types of wxDC have documentation for specific features
 only, so refer to this section for most device context information.
 
+% VZ: we should really document them instead of this lame excuse, but I don't
+%     have time for it now, when it is done please remove this
+Please note that in addition to the versions of the methods documented here,
+there are also versions which accept single {\tt wxPoint} parameter instead of
+two {\tt wxCoord} ones or {\tt wxPoint} and {\tt wxSize} instead of four of
+them.
+
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}