Commit Graph

14317 Commits

Author SHA1 Message Date
Václav Slavík
95543830f5 made printing to PS possible under wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:14 +00:00
David Webster
0256cfeb6d Dialog processing updates and some timer fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 21:50:34 +00:00
Robin Dunn
6bad4c327c Icons fetched from wxMimeTypesManager did not get the width/height of
the icon, now they do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 18:29:52 +00:00
Julian Smart
28c98a77e9 Stripped menu control characters from buttons, static text, radiobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:15:51 +00:00
Robin Dunn
feb6cde446 Assert that wxEXEC_SYNC is not passed in flags to wxProcess::Open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:10:26 +00:00
Robin Dunn
72db889479 Patch #581167
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:09:44 +00:00
Chris Elliott
d08d71a844 single instance checker addition for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 11:40:18 +00:00
David Webster
650ff63d99 Fix text placement in statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 04:26:37 +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
Mattia Barbon
a9cb577a6f Allow building wxProtocol without wxUSE_SOCKETS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 20:26:07 +00:00
Vadim Zeitlin
cd6af1cb31 let the DefWindowProc() process messages sent to RAS window, otherwise the system can't shutdown properly while it exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 20:02:30 +00:00
Vadim Zeitlin
109c7768eb fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrchr, wxStrstr, ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 19:55:08 +00:00
Robert Roebling
1fd1922a49 Let wxToolBar assume that no orientation flag means horizontal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 17:39:20 +00:00
Robert Roebling
b8c140b89f Corrected display for empty lines in text control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 17:08:19 +00:00
Robert Roebling
29e4a1901a Convert to and from \n and \r in wxMac's text
control so that it always expects \n as in
     all other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 16:51:35 +00:00
Gilles Depeyrot
dda2e4fdca corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:21:23 +00:00
Gilles Depeyrot
32f1f0837e removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:19:56 +00:00
Gilles Depeyrot
0fe3b23138 added unimplemented error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:18:34 +00:00
Gilles Depeyrot
8d4808570f added unimplemented error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:13:40 +00:00
Gilles Depeyrot
0c32c93044 added unimplemented message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:12:06 +00:00
Gilles Depeyrot
2a29485779 explicitly raise modal dialogs in case a non modal window was selected to
activate the application when a modal dialog is displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:08:24 +00:00
Gilles Depeyrot
723c433f65 corrected return type of wxDetermineImageType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-13 12:14:07 +00:00
Robin Dunn
e626d7c787 Changed wxProcess::Open to take a flags arg to pass to wxExecute.
Fixed a few _'s without \'s in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 23:25:14 +00:00
Robin Dunn
8961add6aa SWIGged changes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:37:38 +00:00
Robin Dunn
1144928351 SWIGged changes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:37:00 +00:00
Robin Dunn
355a2516ba build script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:36:08 +00:00
Robin Dunn
1883480f8d I forgot the wxSignal enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:34:02 +00:00
Robin Dunn
814f509cc9 Added wxProcess_Open and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:30:17 +00:00
Robin Dunn
47eea71e18 better cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:29:49 +00:00
Robert Roebling
62cb3cd8a1 Tried to fix update/refresh again. The code erronously
cleared the updated area if the area to be cleared
    was empty (such as after a call to Refresh(FALSE)).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 20:27:44 +00:00
Vadim Zeitlin
eb671557a8 added a stupid wxProcess::Open() test -- it can't be really used for now though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:54:21 +00:00
Vadim Zeitlin
0c9c440190 don't close end process pipe descriptor too early (fixes bug introduced by the last check in)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:30:43 +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
80d6dc0a95 use wxFileInput/OutputStreams instead of reproducing their functionality in wxProcessFileInput/OutputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:16:20 +00:00
Vadim Zeitlin
da00a8bb16 added and documented wxProcess::Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:49 +00:00
Vadim Zeitlin
9a26db9ed2 detect EOF properly in wxFileInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:11 +00:00
Vadim Zeitlin
20ea6894a2 don't write the strings to the stream one char at a time, it's *horribly* slow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:14:39 +00:00
Julian Smart
b23e843b99 Added wxView::OnClosingDocument so the application can do
cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:08:03 +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
Robin Dunn
04f47ce879 Allow wxComboBox to get key events for ENTER with wxPROCESS_ENTER style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 15:45:35 +00:00
Vadim Zeitlin
b477f956e0 0. wxExecute() with IO redirection now works again (but the real fix is
in wxInputStream::Ungetch(), not here)
1. replaced multitude of pipe() calls &c with wxPipe class
2. fixed nasty bug in wxStreamTempBuffer::Update() which corrupted the data
3. increased buffer size to 4Kb from 1Kb


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:44:11 +00:00
Julian Smart
aacb1b8018 Somehow wxWizard lost the 'virtual' keyword for DoCreateControls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:43:58 +00:00
Vadim Zeitlin
42a3aedbce fixed bug in Ungetch() which was preventing wxExecute() from working: this method must clear the EOF flag!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:41:55 +00:00
Vadim Zeitlin
6faed57df6 added SetSashPosition() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 13:23:53 +00:00
Julian Smart
e41e138559 Added Ian Brown's fix for PopupMenu not blocking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 09:05:57 +00:00
David Webster
5d644707ca Toolbar/tooltip udates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 22:14:39 +00:00
Robin Dunn
63b6646e5d demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:41:21 +00:00
Robin Dunn
47b2f647b9 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:17:16 +00:00
Robin Dunn
d6a3401d09 Changed the wxDateTime.Parse* methods to return an int that will be -1
on failure, and the index where parsing stopped otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:53 +00:00
Robin Dunn
83f3dd45be Added wxEVT_SCROLL_ENDSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:03 +00:00