Commit Graph

13255 Commits

Author SHA1 Message Date
Vadim Zeitlin
ad1b0610dc a preprocessor constant must be 0, not FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 10:24:24 +00:00
Vadim Zeitlin
8f901032ba bug/typo fixed: function returning a pointer should return NULL, not FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 10:23:55 +00:00
Vadim Zeitlin
4e6978c3fe replaced SetName() with SetText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 09:57:21 +00:00
Vadim Zeitlin
645420d872 implemented wxChoice::Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 09:31:12 +00:00
Robin Dunn
fc51b8c37e Better error message, flags --> style in wxHtmlWindow, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:13:29 +00:00
Robin Dunn
c893f25d86 Fixed GetShapeList and similar methods to use OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:12:02 +00:00
Robert Roebling
a22d737782 Made metal theme a little faster.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 21:56:30 +00:00
Julian Smart
2599ee02f1 Undo/Redo update handlers now set the text as well
as enabling/disabling, making it possible for several
different types of control to share the same menu items and
set the text differently.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:43:21 +00:00
Vadim Zeitlin
79180098d8 don't use socket function when wxUSE_SOCKETS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:11:12 +00:00
Vadim Zeitlin
6e406d3c7b typo (thanks Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:00:17 +00:00
Vadim Zeitlin
fa5af9af95 updated to mention X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:00:03 +00:00
Julian Smart
b538bf7e2a Corrected the sizer code for the navigation tool window --
it was mixing panel and frame. Now the panel is sized, and
the resulting fit used to resize the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:49:47 +00:00
Vadim Zeitlin
e480a80aeb fixed 2 small typos (reported by Janos Vegh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:44:02 +00:00
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