Robin Dunn
9b9337da0c
Moved the check for page scrolling with the wheel into wxMouseEvent so
...
it wouldn't have to be duplicated everywhere.
Also fixed wxSTC so it can handle wheel page scrolling too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Robin Dunn
4b056ef54f
Fix for mousewheel events when it is set to page mode instead of lines.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:36:53 +00:00
Václav Slavík
c6eaa6fb67
wxPrinting fix for wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:49 +00:00
David Webster
e715f4e791
Nicer looking OS/2 Statusbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 04:26:02 +00:00
Vadim Zeitlin
2645b45a75
treat NULL extension properly in wxLoad/SaveFileSelector; don't crash if NULL ext or what pointers are passed to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:17:24 +00:00
Vadim Zeitlin
904ccf5237
attempt to fix a rare crash which happens when changing the number of columns in a virtual list control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:05:46 +00:00
Vadim Zeitlin
58c1c0965e
fixed handling of Ctrl-arrows movement which was unselecting the previously selected items incorrectly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 17:57:48 +00:00
Vadim Zeitlin
62d89eb4c9
applied the same fix for crashing if the END_EDIT event handler vetoes the event as for wxTreeCtrl; also added a few consts here and there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 17:48:41 +00:00
Vadim Zeitlin
02fe25c214
really remove the selection when Unselect() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:43:28 +00:00
Vadim Zeitlin
edb8f2985f
fix crash when the user code refuses to validate the new text when editing the item and a generic label editing code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:38:46 +00:00
Vadim Zeitlin
a4ba2eeca1
fixed a compilation warning about signed/unsigned comparison
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:29:15 +00:00
Vadim Zeitlin
61138de075
removed hardcoded 48 (number of standard colours) from a few places -- still left in the others though
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:23:35 +00:00
Vadim Zeitlin
c020c47e00
fixed off-by-few-pixels error in horz scrollbar calculations (patch 575412)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:05:43 +00:00
Ron Lee
801225c191
Fix for the irksome, 'Details' sizing bug. Or at least a patch on a hornet's
...
nest. Thanks to jill@emeraldgate.com for tracking this one (and the previous
StatusBar patch too).
There's more work here if someone wants it.. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 10:27:29 +00:00
Julian Smart
893f25f232
Corrected scoping error for i
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 09:42:02 +00:00
Ron Lee
76880b8757
Preserve prior StatusBar contents when adding removing fields
...
(consistant with MSW behaviour).
Made m_statusSring a wxArrayString, furthur simplification may
be possible if someone is interested and has the time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 23:53:58 +00:00
Václav Slavík
374a8e5c7f
fixed hidden root expansion in extreme usage case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:15:10 +00:00
Vadim Zeitlin
c2c59b2286
made wxGenericFontDialog derive from wxFontDialogBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 00:46:11 +00:00
Robin Dunn
25f430fcc4
Fixed compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 23:02:07 +00:00
Vadim Zeitlin
f0d5e7a25a
react to the year being changed in the spin control text zone and not only with the spin buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 23:13:43 +00:00
Vadim Zeitlin
ccbfa8ecaf
fixed warnings about printf format specifications <-> argument mismatches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 16:27:08 +00:00
Robin Dunn
70e8d96150
Don't try to release the mouse unless we actually have it captured.
...
The mouse capture can be lost if an event handler shows a modal
dialog, for example.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 18:35:17 +00:00
Julian Smart
fc0d5b6bd2
Applied patch [ 565012 ] Add wxTextValidator to wxTextEntryDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:51:32 +00:00
Vadim Zeitlin
3ee5833474
renamed wxWizard::Fit() to FitToPage() to avoid potential conflicts with wxWindow::Fit() (and the compiler warnings about it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:49:28 +00:00
Vadim Zeitlin
3f3dc2efd0
don't crash trying to dereference NULL m_selection (happens when showing a grid without any rows or columns)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 15:01:10 +00:00
Vadim Zeitlin
40c0880859
relayout the window after adding/removing the columns (fixes a SF bug I closed a long time ago -- but forgot to commit the fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 15:23:54 +00:00
Vadim Zeitlin
5bc28e8482
allow overriding the default button labels in wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 17:03:18 +00:00
Vadim Zeitlin
238d33aa53
generic log dialog resizing now works more reasonably (at least under Windows): you can't resize it vertically when it is collapsed and it doesn't change horizontal size when it is expanded or collapsed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 00:10:42 +00:00
Vadim Zeitlin
8ff4113603
added missing space before >> button label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:57:55 +00:00
Robert Roebling
1ec3a9848a
Moved wxCharhookEvent so that it sends the same
...
keycode as wxCharEvent.
Removed wxDestroyWindowEvent as it crashes all
the time.
Corrcted wxTreeCtrl's interception of wxCharEvents
as it misinterpreted "F5" for "Z" e.g.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 23:02:58 +00:00
Vadim Zeitlin
dc429f89a6
fixed wxScrolledWindow::SetScrollbars() which was broken by the virtual size changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:36:36 +00:00
Vadim Zeitlin
526b8142e1
make the incremental kbd search wrap to the beginning if necessary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:37:52 +00:00
Robin Dunn
b3887715e4
Fix for compilation error in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:50:36 +00:00
Robin Dunn
7a944d2fd2
Fixed a strange MSVC compile error (C2253) It thought a pure virtual
...
function was being defined...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 20:17:44 +00:00
Vadim Zeitlin
db1a42b874
(re)enable Cancel button in Resume()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:08:39 +00:00
Vadim Zeitlin
cb59313ce5
added incremental keyboard search to wxTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 15:00:57 +00:00
Vadim Zeitlin
a3e8c656ca
set focus to the page after showing it -- otherwise it's lost (well, left on the previous, now hidden, page)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 23:10:56 +00:00
Vadim Zeitlin
3c67451472
added consts to wxAcceleratorTable ctors from wxAcceleratorEntry array
...
(repaces patch 561183)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:51:14 +00:00
Vadim Zeitlin
c2569f41b1
fixed icon drawing when they have different sizes (patch 554973)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:44:33 +00:00
Vadim Zeitlin
943f6ad3d6
unselected the current item when unfocusing it in a single selection list control (patch 540818)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:30:24 +00:00
Vadim Zeitlin
fe6dc50a2e
added asserts to ensure that the splitter windows have it as parent (otherwise they're not positioned correctly)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 11:29:26 +00:00
Vadim Zeitlin
c73b439f80
added wxWizard::Fit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:41:35 +00:00
Robert Roebling
d45906e0a7
wxSPinCtrl no longer set focus to its text field
...
when setting a value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:53:44 +00:00
Vadim Zeitlin
91c68292f6
fixed propagating of EVT_WIZARD_XXX events to the parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:36:20 +00:00
Julian Smart
426b2d8795
Applied drag fix to row labels as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 16:16:28 +00:00
Julian Smart
fe77cf604a
Captured mouse in grid column label so the drag isn't prematurely and messily
...
ended when moving out of the column label window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 13:17:31 +00:00
Václav Slavík
41fecb4451
Cosmetic changes to wxSS::GetScreen:
...
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Julian Smart
baaae89f09
Updated font dialog constructors to use a reference to the font data
...
as per more recent convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Julian Smart
f4bd67593e
Don't call a function that might do drawing when setting a null image list
...
(might be deleting the tree control)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:59:10 +00:00
Vadim Zeitlin
63ec9dbbac
don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00