Commit Graph

15354 Commits

Author SHA1 Message Date
Chris Elliott
640f7e6642 fix makefile for digitalmars to build joytest sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 14:16:40 +00:00
Chris Elliott
0a360e4836 fix makefile for digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 13:59:53 +00:00
David Elliott
911e17c6cf CodeWarrior Obj-C++ requires explicit casts from id to Objective-C types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 19:15:44 +00:00
David Elliott
449c567346 Support precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 19:03:22 +00:00
David Elliott
0411b8647b * Use wxTopLevelWindow::Show() for modeless dialogs
* Maintain m_isShown for modal dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 13:00:28 +00:00
David Elliott
cbb2499e71 Set the m_isShown flag appopriately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 12:54:34 +00:00
Mattia Barbon
e21011866e Corrected statements about wxString correctly handling
embedded '\0' characters.
  Fixed various wxString::*find* methods (patch by Robert Vazan),
plus added missing overloaded variants of find_first/last_(not_)of.
Added more tests in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 20:20:21 +00:00
Robin Dunn
5c6c31763f Added handler for WM_PRINT to assist with offscreen drawing of widgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 19:56:28 +00:00
Jouk Jansen
1cc4f822d3 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/notebook.cpp
 	wxWindows/src/gtk/notebook.cpp wxWindows/src/univ/descrip.mms
 	wxWindows/src/univ/notebook.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 14:47:00 +00:00
Stefan Csomor
da31cbc4ef only work on the focus if the control is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 13:11:59 +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
Vadim Zeitlin
8f387d13ff don't return \n from GetLineText() neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:09:27 +00:00
Vadim Zeitlin
60ab0c52e3 don't return \r from GetLineText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:02:21 +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
Stefan Neis
ceb8f94a96 Fixed includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:01:12 +00:00
Stefan Neis
459073a907 Removed some code duplicating wxAppBase functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:51:04 +00:00
Stefan Neis
21323df7fe Fixed return type of GetPageCount (int -> size_t).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:25:53 +00:00
Stefan Neis
621ccd8a82 Fixed AppTraits handling on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:15:10 +00:00
Stefan Csomor
3c589c7f47 Carbon Event Mouse Moved handler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 15:35:32 +00:00
Vadim Zeitlin
b653e655aa no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 13:47:11 +00:00
Vadim Zeitlin
85e5cfc952 fix redistribution of the extra space between sizer items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 13:29:28 +00:00
Vadim Zeitlin
ccf5c8a88c undid the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 12:54:48 +00:00
Robert Roebling
f4e0be4f62 Prevent wxMac from creating an epmpty bitmap in a toolbar
if all we want is a separator.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 12:05:49 +00:00
Vadim Zeitlin
2a68b7a07d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:11:46 +00:00
Vadim Zeitlin
708c45a6ce return the index of the inserted/appended item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:03:07 +00:00
Vadim Zeitlin
f43c777175 use SetClientSize(), not SetSize() in Fit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 22:39:56 +00:00
Stefan Neis
f877815e1b Fixed several bugs in threading code for OS/2. Thread sample now working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:44:14 +00:00
Stefan Csomor
ba87f54c0d made Update be window local (before was updating the entire window), ScrollWindow now scrolls also invalidated areas and in the end does an Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:32:46 +00:00
Stefan Csomor
3066bdd62a removing all updates specially for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:30:53 +00:00
Václav Slavík
3caa34b771 removed caching from wxInternetFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 22:54:45 +00:00
Mattia Barbon
d8771ac734 Fixed bug introduced in fs_zip.cpp when replacing wxHashTableLong
with wxHashMap.
  Made wxHashMap constructor explicit to prevent similar errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 20:10:32 +00:00
David Elliott
aa992c594e Rename some of the Cocoa methods to reflect that they are implemented
by the NSWindow delegate.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:59:04 +00:00
David Elliott
eb3426e77a Implement windowShouldClose: in delegate instead of class poser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:15:59 +00:00
David Elliott
78c67cb642 Use a delegate instead of manually adding notifications. Not only is this
less code, but a delegate will be required for future functionality.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 14:10:23 +00:00
Václav Slavík
5af11a9413 Content-Type parsing should be case insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 09:59:00 +00:00
Vadim Zeitlin
1fa29bdc25 implemented IsModified() and DiscardEdits()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:11:09 +00:00
Vadim Zeitlin
6841d412ae don't reset timer interval to 0 in Stop(), this prevents Start(-1) from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:05:49 +00:00
Mattia Barbon
8879354854 Don't crash in wxControl::GetLabel when getting the label
fails (perhaps because the widget is not realized?).
  Correct wxRTTI information for wxFrame: it derives from
wxTopLevelWindow, not wxWindow.
  Don't try setting Widget size to 0, because it will fail: set
it to 1 instead which is exactly as sensible, but does not crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:39:37 +00:00
Mattia Barbon
93c83507aa wxString::rfind fixed for wxUSE_STL=0 from Robert Vazan.
Added missing wxArrayString::reserve.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:32:06 +00:00
Mattia Barbon
b2bb920ff6 wxHashMap does not take the key type as constructor argument.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 20:26:53 +00:00
David Elliott
2fc2d511d0 Send all menu item actions to a dedicated target. This is to ensure
the actions always make it to the proper wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 17:49:51 +00:00
David Elliott
26785f01d0 * Clean up the includes and use wxprec.h
* Wrap toolbar related code in wxUSE_TOOLBAR
* m_frameToolBar was used where m_frameStatusBar should have been.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 16:37:18 +00:00
Stefan Csomor
ea16189569 -1 , -1 for SetSelection improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 14:42:02 +00:00
Václav Slavík
afe06a5457 unknown container now accepts wxNO_FULL_REPAINT_ON_RESIZE flag (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 10:40:43 +00:00
Václav Slavík
56572188ee wxCheckList -> wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 09:36:54 +00:00
Stefan Neis
6691d73700 Don't treat OS/2 as a Unix-like system in this particular file.
This also simplifies some of the #ifdef statments. :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:57:17 +00:00