Commit Graph

13057 Commits

Author SHA1 Message Date
Vadim Zeitlin
c112e10026 changed wxCondition API to take a reference, not pointer, to wxMutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Vadim Zeitlin
cd10339a23 compilation fixes for the recent commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:22:56 +00:00
Vadim Zeitlin
be80986891 added wxSemaphore (with docs), new version of wxCondition and bug fixes to wxThread (patch 538242 by K.S. Sreeram)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:15:16 +00:00
Julian Smart
8e2baee50d Now set the client and main windows in wxAdoptedWindow::SetHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 12:41:28 +00:00
Vadim Zeitlin
b78d046d82 added the include files section (patch 538251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 10:26:50 +00:00
Vadim Zeitlin
01cf2f9512 fixed paper size calculation (convert from 10ths of mm to mm correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 10:20:52 +00:00
Vadim Zeitlin
0fc5dbf52a compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:59:22 +00:00
Julian Smart
21a77f6e50 Added includes to correct compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:39:24 +00:00
Julian Smart
7011cf1390 Added wxImage::FloodFill file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:15:26 +00:00
Robin Dunn
68304caffe wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 00:36:29 +00:00
Vadim Zeitlin
21b529859e more informational assert about the base class being unknown to wxRTTI system (patch 538103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 23:58:46 +00:00
Julian Smart
a8a721064b Added reference to FloodFill additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 22:17:38 +00:00
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