Commit Graph

560 Commits

Author SHA1 Message Date
Stefan Neis
5e01e9bde4 Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 17:04:28 +00:00
Václav Slavík
315ebf688c renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:42:04 +00:00
Stefan Neis
41c54face1 Fixed typo in MBN's extensions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 16:52:11 +00:00
Mattia Barbon
584ad2a32f Added some missing STL-like wxArray/wxArrayString constructors.
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
  Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Stefan Neis
55945915c9 Reordered includes to have OS2EMX_PLAIN_CHAR defined prior to including os2.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 17:47:53 +00:00
Stefan Neis
6d63b0946b Fixed variable name mismatch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 12:49:12 +00:00
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
David Elliott
05a019a2a8 Copied gsockpm.c revision 1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 22:43:55 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
1169a91932 Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Stefan Neis
8d902dd64b Fixed mouse event generation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 17:32:45 +00:00
Stefan Neis
919312f767 Bugfix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 13:13:53 +00:00
Julian Smart
aad6765cbd Applied patch [ 828303 ] Slight wxColour cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Stefan Neis
b08c90ca63 Modified wxGetHomeDir to take environment variable HOME into account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 22:20:41 +00:00
Stefan Neis
a85585d595 Fixed the code to actually work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 21:56:50 +00:00
Stefan Neis
737928c244 Avoid referencing WinInitialize/Finalize for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:52:53 +00:00
Stefan Neis
53e8757b65 Added some bad hacks to make region processing work at least a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-03 01:20:15 +00:00
Vadim Zeitlin
727953356d removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Stefan Neis
0b483d6eef Initialize m_lNumRects to avoid core dumps if GpiQueryRegionRects fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 08:04:25 +00:00
Stefan Neis
72a0a2de1e Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-26 16:11:20 +00:00
Stefan Neis
e4f1a68ad1 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 12:36:59 +00:00
Stefan Neis
72bfca58d9 Fixed usage of uninitialized variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:03:52 +00:00
Stefan Neis
d00110f640 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:01:06 +00:00
Stefan Neis
8681f66ced Only use unicode format when unicode support is enabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 16:56:58 +00:00
Stefan Neis
b93aba841c Correctly bracketed initializers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 18:08:25 +00:00
Stefan Neis
2d28c41cbd Insure that top level windows will be at least visible
when relying on default size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 21:50:56 +00:00
Stefan Neis
b21ec1a76c Added MarkDirty implementation for MultiLine Edit controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 21:23:04 +00:00
Vadim Zeitlin
020172f684 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:14:20 +00:00
Stefan Neis
3c623cf7d9 Correctly bracketed initializers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 20:22:16 +00:00
Stefan Neis
ee22d7f339 Modal dialogs now correctly use wxEventLoop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 20:13:51 +00:00
Stefan Neis
bd76e17e0f Fixed compilation problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:56:23 +00:00
Vadim Zeitlin
dd435a79ed removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Stefan Neis
8329e6c730 Added AppTraits for starting/ending a thread.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:01:32 +00:00
Stefan Neis
598dc9b777 Switched over to using wxEventLoop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:54:03 +00:00
Stefan Neis
bd6685b307 Added #include "wx/encinfo.h" as needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 18:34:43 +00:00
Vadim Zeitlin
5d6cbce26b use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 20:03:13 +00:00
Vadim Zeitlin
8e35ab96f6 call RemoveChild() in ~wxWindowBase instead of doing it in each ~wxWindow for each port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 11:45:08 +00:00
Václav Slavík
69b5cec2b0 applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 17:29:11 +00:00
Stefan Neis
ad0500fb78 Initialize PM subsystem in every thread, to enable sending messages to the GUI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 12:49:04 +00:00
Stefan Neis
2e896473d8 Unified with Unix version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 22:25:16 +00:00
Stefan Neis
afbfef69a3 Use function table instead of direct references to GSocket functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 16:37:02 +00:00
Stefan Neis
3979bf6b1f Updated API to current state of wxWindows (int -> size_t).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:37:00 +00:00
Stefan Neis
28410cdcee Added missing include to resource file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:55:56 +00:00
Stefan Neis
4fe9efc1b9 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:52:26 +00:00
Stefan Neis
0093fe11c5 Cleaned up remains of outdated 3D effect handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:08:49 +00:00
Stefan Neis
a04be86ee4 Fixed IMPLEMENT_DYNAMIC_CLASS usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:56:53 +00:00
Stefan Neis
50528a1dbe Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:54:41 +00:00