Commit Graph

13095 Commits

Author SHA1 Message Date
Julian Smart
0fa784572f Separated wxImage::FloodFill from image.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 22:14:42 +00:00
Vadim Zeitlin
fd7ab28c5e fixed wxCheckListBox behaviour in presense of wxLB_SORT style (bug 529786)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:55:55 +00:00
Julian Smart
f88c1a172e Added FloodFill patch for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:47:02 +00:00
Julian Smart
b1699cd397 Applied FloodFill patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:40:42 +00:00
Vadim Zeitlin
0102f092ed use the new wxExecute() API (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:33:50 +00:00
Vadim Zeitlin
4c1ef4220f use the new API in the sample as it's more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:58 +00:00
Vadim Zeitlin
836915e177 sleep while waiting for the spawned process to terminate so that we don't eat 100 of the CPU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:27 +00:00
Robin Dunn
d6eacb2570 Fixed a few little bugs in how some methods are wrapped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:34:02 +00:00
Robin Dunn
0e9b78ce36 Added wxIconBundle and wxTopLevelWindow.SetIcons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:33:16 +00:00
Robin Dunn
726fc00ab9 Added wxListCtrlAutoWidthMixin from Erik Westra.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:31:23 +00:00
Robin Dunn
15030c51b8 A saner implementation for the new wxToolBar methods that keeps
backwards compatilibilty (including keyword args names for wxPython)
and still exposes the new stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:29:35 +00:00
Robin Dunn
342639eb74 Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:28:01 +00:00
Robin Dunn
468c1af05b Trying wxTE_PROCESS_ENTER and EVT_TEXT_ENTER on a combobox, doesn't
work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:27:19 +00:00
Julian Smart
8601b2e15b Modifications to get wxNanoX compiling again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 14:09:44 +00:00
Vadim Zeitlin
03baf03186 restored full redraw on repain behaviour by default, also some cleanup in the
windows classes registration code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 13:36:55 +00:00
Robert Roebling
24f932d22a Made wxFileDialog PDA friendlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:59:38 +00:00
Robert Roebling
4175e95227 Temporarily use self-made wxTextCtrl in wxX11 until
the in /src/univ.cpp works better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:41:59 +00:00
Robert Roebling
8a328874b6 As in 2.2.9, toolbars should not get the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 14:07:17 +00:00
Robert Roebling
98b9643647 Minor tweak (up-ported from 2.2.9) to make
flat toolbars look slightly better even
    without rebar controls underneath.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 14:06:32 +00:00
Robert Roebling
5d5da6f610 Compile fix when not using WXR resources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 12:06:49 +00:00
Robert Roebling
752f10a8a4 Compile fix for MinGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 12:06:08 +00:00
Vadim Zeitlin
e7b0dcd91e fix for the paths with trailing (back)slashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 23:27:49 +00:00
Robert Roebling
72726d27bd some more tweaks were required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 22:53:27 +00:00
Robert Roebling
34d26f42b1 Rewrote wxToolBar another time.
Other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 21:18:39 +00:00
Vadim Zeitlin
f4fefc232b fixed an apparent bug in DetermineScaling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 19:57:43 +00:00
Robert Roebling
a17a79bac3 Added code for erasing the small square between scrollbars.
Corrected window size if scrollbars is removed/added.
  Reduce flicker in scrollbars.
  Prevent scrollbars from jumping back to original position
    if the mouse just barely left the scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 11:16:24 +00:00
Robert Roebling
9d353d4a22 Configure changes for StrongARM cross-compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:28:47 +00:00
Robin Dunn
0b9dfbc00e Give access to m_lastKeydownConsumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:19:59 +00:00
Robin Dunn
f33d6788d7 Don't set the longhelp in the statusbar if there isn't one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:18:52 +00:00
Robin Dunn
2417bf69de Set flags and libs for using unicows if MSLU=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:18:03 +00:00
Robert Roebling
dc4025af9a Some work for wxX11 on 8-bit visuals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 22:58:15 +00:00
Robert Roebling
b33c8d22cc Removed old #ifdef from GTK 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 21:11:00 +00:00
Robert Roebling
b5a49d4c52 A bit of scrolling works under GTK 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 18:01:50 +00:00
Robert Roebling
af1d24da23 Make scrollbars appear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:34:10 +00:00
Robert Roebling
8cce894070 Preventing bitmap crash differently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:23:54 +00:00
Robert Roebling
c7f6246740 Disabled masked bitmaps under GTK 2.0 until I know
why they crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:43:30 +00:00
Robert Roebling
e97d2576ae Pop-up menus no longer jump before appearing.
Added wxTLW::DoGetSize() which uses cashed values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:04:30 +00:00
Robert Roebling
97bb82ccce Implemented two-window approach for pop-ups, since
e.g. menus have borders.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 14:14:06 +00:00
Robert Roebling
eb9e6a00be Wrong #ifdef for GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 13:52:42 +00:00
Robert Roebling
67d7821742 More work on GTK 2.0 drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 13:05:21 +00:00
Vadim Zeitlin
e2386592d3 commented out an unused var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 11:15:55 +00:00
Vadim Zeitlin
4f22f506a8 corrected the previous warning fix so that it doesn't break the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 10:49:54 +00:00
Vadim Zeitlin
349f1d8ed3 fixed fl compilation after the recent tbar changes (patch 536539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:39:18 +00:00
Vadim Zeitlin
c81394060f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:35:33 +00:00
Vadim Zeitlin
14d36de822 fixed signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:07:07 +00:00
Robert Roebling
4e5a4c69c5 Put some life into GTK 2.0 drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 23:56:36 +00:00
Vadim Zeitlin
25dd6997c5 fixed VC++ warning in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 22:32:32 +00:00
Mattia Barbon
edfb58b74c Add missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 22:32:08 +00:00
Julian Smart
288efe84da In bitmap.cpp, CreateFromImage, took GetWidth and GetHeight out of loop.
Fixed wxWindowX11::FindFocus so text selections work again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 21:42:35 +00:00
Mattia Barbon
e121a72a52 Fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 20:55:49 +00:00