Commit Graph

8551 Commits

Author SHA1 Message Date
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
19caf22926 don't cache the result of IsAlwaysConnected() and don't call IsOnline() unnecessarily from there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 13:47:39 +00:00
Vadim Zeitlin
04354c1deb reverted Chris' MSW additions patch (we should use IPC, not Windows-only functions to implement this functionality)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:41:38 +00:00
Václav Slavík
5918786f9f read message catalogs from the location where wxWin was installed, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 18:10:06 +00:00
Stefan Csomor
799690a0a9 added Mark Newsam's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:31:31 +00:00
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
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Julian Smart
377a219ac7 Applied patch [ 578052 ] Doc/View and recursion problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:13:18 +00:00
Julian Smart
250b589f71 Applied patch [ 581139 ] Misc wxCmdLineParser changes/fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:53:02 +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
a1f7eb20e6 use wxLogFatalError, not wxFatalError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:15:13 +00:00
Julian Smart
0598e263ce Set default encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 08:39:00 +00:00
Gilles Depeyrot
79656e30d2 added missing return to avoid 'control reaches end of non-void function'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 12:59:56 +00:00
Vadim Zeitlin
a7fd7c7851 wxSTAY_ON_TOP support in wxMessageBox (patch 581826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 23:36:53 +00:00
Vadim Zeitlin
a6dfe11fef maintenance update (patch 582592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 21:53:29 +00:00
Mattia Barbon
17234b2644 Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Vadim Zeitlin
993eebf1ba fixed more printf() warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 14:23:24 +00:00
David Webster
217c78b80b Fix for GetValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 04:09:26 +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
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
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
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
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
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