Commit Graph

13292 Commits

Author SHA1 Message Date
Julian Smart
77424cfbdd Sorry, that SetClientSize change was wrong, since sizers are working in
whole-window coordinates. Reverted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:43:25 +00:00
Vadim Zeitlin
0ea621cc25 fixed 2 bugs which were fixed in GetFullPath() but not GetPath() and which were broken by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:41:48 +00:00
Julian Smart
6aa3ea889a Added back the missing Undo/Redo accelerators that unaccountably
went missing after 2.3.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 16:50:55 +00:00
Stefan Csomor
412633c4a5 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 16:07:09 +00:00
Stefan Csomor
abda578832 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 15:31:58 +00:00
Vadim Zeitlin
a5b7374f31 added more GetPath() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 12:21:42 +00:00
Vadim Zeitlin
4175794e03 fixed GetPath() trailing separator bug, rewrote GetFullPath() in terms of GetPath()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 12:20:27 +00:00
Vadim Zeitlin
62dcaed6ba added missing WINAPI to GET_LONG_PATH_NAME typedef (thanks to Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:53:19 +00:00
Vadim Zeitlin
53c3a78b33 generate the focus events for wxComboBox, also solves the tab navigation bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:32:25 +00:00
Vadim Zeitlin
6a9c3625f5 mention wxDIALOG_NO_PARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:13:11 +00:00
Julian Smart
247cdef5df wxSizer::Fit calls SetClientSize, not SetSize. This fixes the tool window
in the Life demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 09:11:59 +00:00
David Webster
938aa9c461 Menuing and statusbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 22:29:32 +00:00
Robert Roebling
67d947ba89 Added "metal" theme.
Added bool param to wxUniv indicating if the controls
   takes its background from the parent (such as
   static texts, radio buttons etc).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:38:15 +00:00
Robin Dunn
7de5bdf4b3 Oops, forgot the braces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:32:54 +00:00
Robin Dunn
d9f14e167e Moved check for m_lastKeydownProcessed to WM_CHAR case because I think
Vadim was asleep when he moved it out of HandleChar to the end of the
WM_KEY_DOWN case. <wink>  It would never be true where the check was
before...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:26:49 +00:00
Robin Dunn
301dfd6748 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:27:53 +00:00
Robin Dunn
26f4607d08 Ensure the caret flashes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:06:59 +00:00
Robin Dunn
e0422aa695 Refresh of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:42:07 +00:00
Robin Dunn
7cdaed0ba0 Changes to match cvs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:39:58 +00:00
Julian Smart
ee018b89b7 wxScrolledWindow::GetVirtualSize now returns client size
if scrolling parameters have not been set. This makes Layout()
work again for scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:15:17 +00:00
David Webster
f5f05abf22 Fixed LINKAGEMODE use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 16:17:50 +00:00
Robert Roebling
6a4e5f03cf Work on wxEdit sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 16:01:39 +00:00
Julian Smart
65c745fe97 Corrected PositionToXY, XYToPosition code
Implemented GetSelection, SetInsertionPoint(End)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 14:23:03 +00:00
Julian Smart
68148776b9 Fixed single-line text control breakage (sorry). Now only
skips the refresh when the new and old values are the same.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 13:00:04 +00:00
Julian Smart
dabd1377ce Added a wxDD_NEW_DIR_BUTTON style for wxDirDialog (currently,
works for the generic implementation only).
Renamed wxDIRCTRL_EDITABLE to wxDIRCTRL_EDIT_LABELS.
Removed reported memory leaks from dynload.cpp using wxModule --
this may cause problems if other modules want to use wxPluginLibrary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 09:35:36 +00:00
Stefan Csomor
2240c9edce background setup correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 08:22:02 +00:00
Stefan Csomor
24fe8dc7f8 removed code (not necessary anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 06:07:18 +00:00
David Webster
a086de984d Lots of updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 04:38:11 +00:00
Vadim Zeitlin
f4f734c1ef no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:23:13 +00:00
Vadim Zeitlin
0df3fbd72a don't send dummy scroll events from wxNotebook when the page is changed using the built-in spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:22:49 +00:00
Vadim Zeitlin
4e4a5fed9f wxSizeEvent now carries the total size, not just the client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:56:20 +00:00
Vadim Zeitlin
0545d965de added another size to the status bar display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:55:38 +00:00
Václav Slavík
08887820a9 hidden root works in wxGenericDirCtrl again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:52:07 +00:00
Vadim Zeitlin
bb61a98381 fixed the initial wxCalendarCtrl position and a minor appearance bug (the first closes the bug 539857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:49:55 +00:00
Václav Slavík
e961638138 fixed incorrect wxCHECK (was a wrong negation before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:44:38 +00:00
Václav Slavík
999723f31a don't allow expanding/collapsing hidden root node
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:43:14 +00:00
Robin Dunn
18b9408737 Include wx/object.h to get the global memory operators if defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:42:09 +00:00
Vadim Zeitlin
8292017ce0 added support for the multiline button labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:25:57 +00:00
Robin Dunn
c8b34a16f7 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instance object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:14:34 +00:00
Robin Dunn
4acff284f9 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instanc object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:01:45 +00:00
Robin Dunn
31fa82942c New PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 21:57:35 +00:00
Robin Dunn
aacd7bb647 Forgot to set OOR info on wxSplashScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 20:55:12 +00:00
Vadim Zeitlin
d769e8ebe0 made one button label multiline for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:40:37 +00:00
Mattia Barbon
f03b9d4585 Allow building with wxUSE_CALENDARCTRL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:34:59 +00:00
Stefan Csomor
9854b6eddf added possible mach-o compliant version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 18:32:17 +00:00
Julian Smart
171fe25be9 Removed redundant project file
Updated release scripts
Reduced widgets sample size
Put back some conditional compilation for dir ctrl style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 14:40:22 +00:00
Stefan Csomor
3538f4df99 change in wxFileDataObject::SetData behaviour broke DnD of multiple files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 13:51:04 +00:00
Vadim Zeitlin
677eff077e fixed a bug in wxStopWatch::Pause() (wouldn't pause if called immediately after Start()) and changed Pause()/Resume() calls to nest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:35:35 +00:00
Julian Smart
7b12790064 Made widgets sample take up less space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:31:37 +00:00
Robin Dunn
d3bfec747d Some little additions to how wxBufferedDC is wrapped.
SHow how to use the wxBufferedDC in the demo.
Other demo tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 01:25:47 +00:00