Commit Graph

784 Commits

Author SHA1 Message Date
Vadim Zeitlin
8b4a9377b0 fixed crash when an item didn't have any data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:31:13 +00:00
Vadim Zeitlin
502a2b1810 fixed sorting the items which have indirect data (i.e. images set for open/closed state) and made indirect data handling much simpler and more efficient as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:00:32 +00:00
Julian Smart
62e1ba759a More tweaks to wxMicroWi
More tweaks to MicroWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 19:43:44 +00:00
Vadim Zeitlin
a9249b2eb2 wxFont can now raelly use the native fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 03:31:48 +00:00
Julian Smart
e640f8231f MicroWindows tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:01:02 +00:00
Julian Smart
2d92dfdb40 Added some #defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:35:32 +00:00
Vadim Zeitlin
466367bedc disable new DL code by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:07:49 +00:00
Ron Lee
b4a5319e83 added missing DYNLIB_CLASS define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 13:21:12 +00:00
Ron Lee
0b9ab0bd82 Added new dynamic loading classes. (which handle proper
wxRTTI and wxModule initialisation and unloading)
Removed serialisation code from wxObject and elsewhere.
Added USER_EXPORTED hash and list macros.
Added *_PLUGGABLE_CLASS defines for exporting dynamic wxObjects
from dlls.

 ----------------------------------------------------------------------
 Modified Files:
 	Makefile.in configure configure.in setup.h.in debian/changelog
 	distrib/msw/tmake/filelist.txt include/wx/defs.h
 	include/wx/docview.h include/wx/dynlib.h include/wx/fileconf.h
 	include/wx/hash.h include/wx/list.h include/wx/module.h
 	include/wx/object.h include/wx/resource.h include/wx/stream.h
 	include/wx/gtk/setup0.h include/wx/msw/setup0.h src/files.lst
 	src/wxBase.dsp src/wxUniv.dsp src/wxWindows.dsp
 	src/common/dynlib.cpp src/common/filename.cpp
 	src/common/module.cpp src/common/object.cpp
 	src/common/stream.cpp src/gtk/files.lst src/mac/files.lst
 	src/mgl/files.lst src/mgl/makefile.wat src/motif/files.lst
 	src/msw/dialup.cpp src/msw/files.lst src/msw/helpchm.cpp
 	src/msw/makefile.b32 src/msw/makefile.bcc src/msw/makefile.dos
 	src/msw/makefile.g95 src/msw/makefile.sc src/msw/makefile.vc
 	src/msw/makefile.wat src/os2/files.lst src/univ/files.lst
 Added Files:
 	include/wx/dynload.h src/common/dynload.cpp
 Removed Files:
 	include/wx/objstrm.h include/wx/serbase.h
 	src/common/objstrm.cpp src/common/serbase.cpp
 	utils/serialize/.cvsignore utils/serialize/makefile.b32
 	utils/serialize/sercore.cpp utils/serialize/sercore.h
 	utils/serialize/serctrl.cpp utils/serialize/serctrl.h
 	utils/serialize/serext.cpp utils/serialize/serext.h
 	utils/serialize/sergdi.cpp utils/serialize/sergdi.h
 	utils/serialize/sermain.cpp utils/serialize/serwnd.cpp
 	utils/serialize/serwnd.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 07:09:58 +00:00
Vadim Zeitlin
1e3a888e72 fixed redraw problems in wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:27:26 +00:00
Václav Slavík
db3272a001 added wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:52 +00:00
Václav Slavík
eb5e4d9ac1 making wxMSW MSLU(unicows)-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:28:31 +00:00
Vadim Zeitlin
d00407b2c6 fixed flicker in wxTreeCtrl::SetItemXXX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 22:20:54 +00:00
Vadim Zeitlin
2ba4130573 wxConfig clean up and bug fix for record defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 00:58:59 +00:00
Vadim Zeitlin
aac7e7fe7b fixed displaying text in non default charset in the richedit control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:47:29 +00:00
Vadim Zeitlin
d4597e138e fixed bugs with setting the client size when the difference between the total and client size changes as the result (e.g. because the scrollbars [dis]appear or the menu bar [un]wraps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:13:27 +00:00
Julian Smart
5ea757d054 Added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 11:17:30 +00:00
Julian Smart
13ff9344d6 Attempted to fix splittree problem by not pushing event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:26:27 +00:00
Vadim Zeitlin
f38bcae5bf fixed compilation after wxTipWindow base class change, added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:18:24 +00:00
Julian Smart
e8d5008c2e Small change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:33:44 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Vadim Zeitlin
31f6de22b0 added wxCmdLineParser::ConvertStringToArgs(), wxApp::ConertToStandardCommandArgs() now uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 21:36:28 +00:00
Vadim Zeitlin
1816a07003 added GetHpalette[Of] macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:21:19 +00:00
Vadim Zeitlin
fa1c12bdd7 fixed wxTaskBarIcon compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 23:39:26 +00:00
Julian Smart
5638d705f5 Project file corrections, doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 16:05:55 +00:00
Vadim Zeitlin
a6c84d26fd Flush() argument should have a default value for compatibility with the other wxConfig versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 12:27:32 +00:00
Vadim Zeitlin
a91cf80c60 moved EnableCloseButton() from wxialog to wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 02:21:43 +00:00
Vadim Zeitlin
a3a584a7a6 added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 20:40:20 +00:00
Robin Dunn
eef97940e8 GetSelection --> GetStringSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:50:11 +00:00
Robin Dunn
973983be62 A little fix for Vadim's fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:49:02 +00:00
Vadim Zeitlin
e444455c49 wxPopupWindow::GetPosition() should return point in screen coords now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:35:45 +00:00
Vadim Zeitlin
184144794d added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:27:16 +00:00
Vadim Zeitlin
9327c3aa02 fixed wxFrame::IconizeChildFrames() bug which would restore the child frame even if it had been iconized before the main frame was
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:26:14 +00:00
Mattia Barbon
d8bffc1335 * Fixed wxStaticBitmap::SetBitmap so that it does not ignore the mask
* Hopefully made possible use SetBitmap with as wxSB created with an icon
  and SetIcon with a wxSB created with a bitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 21:16:02 +00:00
Vadim Zeitlin
9ba53034e7 removed OnSetFocus() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:49:33 +00:00
Vadim Zeitlin
4660d7e5d6 applied patch to make wxGLCanvas derive from wxWindow, not wxScrolledWindow (Paul A. Thiessen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 16:08:52 +00:00
Vadim Zeitlin
1bffa9138f replaced wxList for storing HWND <-> wxWindow with wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:44:19 +00:00
Václav Slavík
253293c103 changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:04 +00:00
Robin Dunn
e6d318c25a Added wxDragLink
Added SetURL to wxURLDataObject

Fixed the Mozilla problem by reversing the order of the component DOs
in the wxURLDataObject.  By checking the wxTextDataObject first then
it avoids the problem of how Mozilla sends the UniformResourceLocator
data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:11:23 +00:00
Robin Dunn
73c13bb93c #undef Yield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:52:09 +00:00
Václav Slavík
0d53fc3442 we no longer need wxFrameNative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 20:35:05 +00:00
Vadim Zeitlin
8461e4c253 added wxApp::Yield()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Vadim Zeitlin
7da982c4ec simplified wxTextCtrl::Create() to use wxControl::MSWCreateControl() instead of duplicating its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:34:37 +00:00
Mattia Barbon
deb3ea6a34 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:58:12 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Vadim Zeitlin
874efd13e1 reverted my accidental changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 12:33:56 +00:00
Václav Slavík
41e929e5cf decouple wxTLW,Frame::ShowFullScreen in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:16:16 +00:00
Robin Dunn
758bce950b Added style parameter to wxPopupWindow ctors so they match the Create method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 18:11:46 +00:00
Vadim Zeitlin
b225f65995 changed/centralized window creation code to allow wxTLW work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +00:00
Václav Slavík
f8e3449ceb added wxSystemSettings::HasFrameDecorations (anybody knows a better name?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:11:56 +00:00