Commit Graph

12276 Commits

Author SHA1 Message Date
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
Stefan Csomor
ffca575c83 WX_EVENT_PROPERTY instead of WX_DELEGATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Neis
64621b078d Never use unix/mimetype.h on OS/2. I'm not exactly sure, if that's the
right thing to do for the X11 ports when running them on OS/2, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:39:24 +00:00
Stefan Neis
15732d07e7 Want to use wxDir::HasSubDirs on OS/2 with gcc, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:19:20 +00:00
Stefan Csomor
c5ca409b6a event exposure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:53:15 +00:00
Stefan Csomor
9d39cef7ef event exposure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:29:58 +00:00
Stefan Csomor
1d73f41603 added support for range types to runtime depersister
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:11:39 +00:00
Stefan Csomor
8edb7cd500 added range of types to delegate type info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:05:59 +00:00
Stefan Csomor
9a75ecf64a constness for accessors of enum data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 12:17:42 +00:00
Robin Dunn
21870a5d8d WXMAKINGDLL --> WXMAKINGDLL_CORE and also fixed name of resources file
in multi-lib builds (so it doesn't look for "_core" in the name.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:21:50 +00:00
Robin Dunn
b380439d52 Better #if checks for mac in ProcessPlatformProperty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:19:30 +00:00
Václav Slavík
84389518ba __WINDOWS__, not __WXMSW__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:56:20 +00:00
Chris Elliott
f1e269209a fix for d_mars 8.35
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:32:45 +00:00
David Elliott
5aa417d57c Send activate/deactivate events for become/resign key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:30:10 +00:00
David Elliott
720e01c312 Added a notification observer for NSWindow. Observe the become key and
resign key notifications. (window activation in wxWindows parlance)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:28:35 +00:00
Chris Elliott
83f0bdff31 fix makefile (changed filelist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 19:28:25 +00:00
Stefan Csomor
9f6b8316a3 typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 01:22:01 +00:00
Stefan Csomor
c681bd248f unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 01:12:29 +00:00
Stefan Csomor
b1f6de838e unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:59:04 +00:00
Julian Smart
67b283a9c6 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:42:42 +00:00
Stefan Csomor
c34e3c7930 unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:39:07 +00:00
Stefan Csomor
63691d4ff9 unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:28:38 +00:00
Julian Smart
9dc6871e8f Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 00:02:19 +00:00
Stefan Csomor
e70b4f1095 unicode adaptions, menu support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:33:36 +00:00
Stefan Csomor
ed45345eb1 unicode and linkage corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:31:41 +00:00
Stefan Csomor
5b59fbdddf removing unnecessary specializations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:31:19 +00:00
Václav Slavík
6a8c7c70c9 compilation fix for wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 17:33:58 +00:00
Julian Smart
ffcb4ee424 WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:15:20 +00:00
Julian Smart
88d6c98889 Correction for Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 08:13:13 +00:00