Commit Graph

13362 Commits

Author SHA1 Message Date
Vadim Zeitlin
8204abdefe mention that doing SetFocus() results in the focus event being sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:59:21 +00:00
Vadim Zeitlin
6aeb6f2a58 fixed initial focus handling in the dialog and made SetFocus() send the focus
events as under wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:53:11 +00:00
Vadim Zeitlin
33b494d643 added wxGetTopLevelParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:51:28 +00:00
Vadim Zeitlin
6703082ef0 fixed another return FALSE in a function returning a pointer (patch 545046)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 12:30:12 +00:00
Vadim Zeitlin
4b912ef220 made operator==() and \!=() const (still doesn't make them correct probably)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:20:49 +00:00
Vadim Zeitlin
7a82dabcc7 fixed huge memory leak in wxFileDialog (closes patch 544060)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:10:19 +00:00
Vadim Zeitlin
e94ff4cbf1 fixed logic in limiting spin ctrl values (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Vadim Zeitlin
5f605ccf3f implemented DoGetSize() for wxSlider (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:57:28 +00:00
Vadim Zeitlin
93c4157c6c fixed focus tracking for spin controls (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:53:24 +00:00
Ron Lee
566d84a7c3 Added knowledge of virtual size to wx(Scrolled)Windows, they can now
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.

 Modified Files:
    docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
    docs/latex/wx/window.tex include/wx/scrolwin.h
    include/wx/sizer.h include/wx/window.h
    include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
    samples/scrollsub/scrollsub.cpp src/common/parser.y
    src/common/sizer.cpp src/common/wincmn.cpp
    src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
    src/msw/textctrl.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
David Webster
1d0edc0f73 More updates for gdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:40:05 +00:00
Gilles Depeyrot
c690ae86db poll is not available under Darwin/Mac OS X and select should be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:05:25 +00:00
Robin Dunn
b98a5dfcdd SWIGed changes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:50 +00:00
Robin Dunn
d975da9bc4 Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:19 +00:00
Gilles Depeyrot
40f7145ca5 use specific linker flags under Mac OS X when linking executables against the
wxWindows dynamic shared library (LDFLAGS_EXE)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 18:39:06 +00:00
Robert Roebling
010afced51 Updated makefile for mobile sample.
Updated changes.txt.
  Moved contents of ::Update() to ::GtkUpdate()
  Moved internal idle functions in wxApp to
    its own function.
  Tried to fix themed background redraw problem
    (probably same bug in wxNotebook and in
     wxStatusBar and others).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 17:39:49 +00:00
Vadim Zeitlin
129223d68e select the whole text in the single line text control when its SetFocus() is called (which also happens when the user TABs to it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 23:32:41 +00:00
Robert Roebling
8f4a9a1025 Moved mobile dir.
Made enable-no_rtti etc NO default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 16:41:35 +00:00
David Webster
ba2abe8530 back to void for DoFloodFill
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:30:53 +00:00
Julian Smart
777dbdc75e Only create wxBuffer on wxMSW and wxMac platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:15:45 +00:00
Robin Dunn
2d956b5802 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:52 +00:00
Robin Dunn
9c67cbec02 Reorganized the tree in the wxPython demo, hooked the MDI demos into
the main demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:08 +00:00
Robin Dunn
d394edcac8 wxDF_HTML and FloodFill interface updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:42:09 +00:00
Robin Dunn
33ff77f695 Some wxGrid related classes now support OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
e3dbf5934e Don't do the wx cleanup if wxPython didn't do the initialization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:36:21 +00:00
Robin Dunn
6d9022fe3b Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:35:20 +00:00
Robin Dunn
afbd598c25 Some secondary grid classes now derive from wxClientDataContainer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:32:35 +00:00
David Webster
c354beeafa Bitmap updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:12:36 +00:00
Robert Roebling
d7fa7eaa2d Various changes to focus handling when TLW start.
Changed wxWindow::Clear() to use m_clearRegion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 22:44:31 +00:00
Robin Dunn
82550f2324 Added some methods to be consistent with wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:45 +00:00
Robin Dunn
19e30148e1 A few tweaks and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:11 +00:00
Robin Dunn
f772a88b55 Removed package from imports since the modules are in the same package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:00:36 +00:00
Vadim Zeitlin
3f4f90c2a0 corrected assert even better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 14:16:36 +00:00
Julian Smart
e944f70a6d Corrected assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 14:09:11 +00:00
Julian Smart
387ebd3eb7 Added wxDF_HTML
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Gilles Depeyrot
4101db8100 corrected thread detection for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 06:19:42 +00:00
Václav Slavík
e7300ec6d9 some wxArtProv docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:06:47 +00:00
Václav Slavík
0dec0ec2a7 wxArtProvider HOWTO extended: update documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:35 +00:00
Václav Slavík
a81c3c2383 make wxArtProvider pure virtual (I was not so on
a purpose in some early stage but I think that it is
relevant no more...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:24 +00:00
Václav Slavík
05f9197a34 wxHtmlHistoryItem needs not be wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:09 +00:00
Václav Slavík
35b038b17e wxHtmlBookRecords needs not be wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:02:24 +00:00
Václav Slavík
ccdcde00d9 fixed outdated filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:01:58 +00:00
Robin Dunn
eb88b74249 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:52:54 +00:00
Robin Dunn
36d9119341 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:33:33 +00:00
Robin Dunn
1757121732 A new listctrl mixin class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:32:55 +00:00
Robin Dunn
9398120d29 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:31:57 +00:00
Stefan Csomor
50b30d837b added patch for theme savvy checkbox metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:04:38 +00:00
Mattia Barbon
cd6bd27059 Moved text control subclassing code inside MSWOnNotify.
Now all edit controls for tree labels are subclassed (previously only the ones
  created by EditLabel were ).
Now GetEditControl() always returns a pointer to a textctrl when editing
  is in progress.
Removed #if-0 code in GetEditControl() to do the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 20:05:47 +00:00
Julian Smart
787a85c239 Pass validator, not wxDefaultValidator!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:56:20 +00:00
Vadim Zeitlin
b5b49e4293 removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:34:42 +00:00