Commit Graph

754 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Václav Slavík
bbb7a9314d reverted my previous commit to this file; was done by Ron in parallel with me
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:11 +00:00
Václav Slavík
2545022c72 compilation fixes for MSW+Univ+Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:36:25 +00:00
Vadim Zeitlin
a308135449 applied (slightly modified) wxGLApp patch for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:01:34 +00:00
Ron Lee
3a922bb4bd More build system polishing.. mostly. Some stuff ported over from
recent changes to the 2.2 branch.

Rationalised the autoconf scripts again, removed lots of stuff that
shouldn't be there anymore and pounded the rest into an even tighter
furball. (There's more work to be done here, but we're getting there..)

Implemented the library naming scheme outlined in tn0012.txt -- introduced
'toolchain' and 'widget set' into the autoconf scripts, obsoleted the
top level wx/setup.h and much of the mess associated with it.

More changes for cross compiling and 2.3 debs.

s/burnt_name/soname/g ; s/CC/CXX/g ; s/CCC/CC/g ;  Just because it's Right.
(Thanks Vadim for already doing *FLAGS..)

Fixed libfl Makefile to actually work.

Removed *_DEPS from tmake templates, in every case they can be determined
from the relevant *_OBJS

Added BASE_MSW_OBJS, a couple of missing #includes, some missing files to
the 'dist' targets, and fixed some compile warnings.

Changed setup.py to use wx-config --gl-libs instead of hard coded constants.

 Modified Files:
 	Makefile.in configure configure.in setup.h.in wx-config.in
 	wxBase.spec wxGTK.spec wxMotif.spec
 	contrib/include/wx/applet/window.h contrib/src/Makefile.in
 	contrib/src/applet/appletwindow.cpp contrib/src/fl/Makefile.in
 	debian/changelog debian/control.in debian/libwxbase-dbg.dirs
 	debian/libwxbase-dbg.links debian/libwxbase-dbg.postinst
 	debian/libwxbase-dbg.prerm debian/libwxbase-dev.dirs
 	debian/libwxbase-dev.files debian/libwxbase-dev.links
 	debian/libwxbase-dev.postinst debian/libwxbase-dev.prerm
 	debian/libwxgtk-dbg.dirs debian/libwxgtk-dbg.links
 	debian/libwxgtk-dbg.postinst debian/libwxgtk-dbg.prerm
 	debian/libwxgtk-dev.dirs debian/libwxgtk-dev.files
 	debian/libwxgtk-dev.links debian/libwxgtk-dev.postinst
 	debian/libwxgtk-dev.prerm debian/rules
 	distrib/msw/tmake/base.t distrib/msw/tmake/gtk.t
 	distrib/msw/tmake/mgl.t distrib/msw/tmake/motif.t
 	distrib/msw/tmake/msw.t distrib/msw/tmake/os2.t
 	distrib/msw/tmake/univ.t docs/motif/install.txt
 	include/wx/msw/private.h include/wx/os2/SETUP.H
 	include/wx/os2/SETUP0.H samples/ipc/Makefile.in
 	samples/sockets/Makefile.in src/files.lst src/make.env.in
 	src/makelib.env.in src/makeprog.env.in src/common/strconv.cpp
 	src/gtk/files.lst src/mgl/files.lst src/motif/files.lst
 	src/msw/files.lst src/msw/gsocket.c src/msw/gsockmsw.c
 	src/msw/toplevel.cpp src/msw/utils.cpp src/os2/files.lst
 	src/univ/files.lst wxPython/setup.py
 Added Files:
 	debian/libwxbase-msw-dev.dirs debian/libwxbase-msw-dev.links
 	debian/libwxbase-msw-dev.postinst
 	debian/libwxbase-msw-dev.prerm debian/libwxmsw-dev.dirs
 	debian/libwxmsw-dev.links debian/libwxmsw-dev.postinst
 	debian/libwxmsw-dev.prerm debian/wxwin-doc.doc-base
 	debian/wxwin-headers-msw.dirs
 Removed Files:
 	debian/wxwin-doc.doc-base.in include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 07:00:13 +00:00
Robin Dunn
74b1c2658a fixed compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 06:07:14 +00:00
Robin Dunn
361128cbf7 Added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:19 +00:00
Robin Dunn
edd971741e Fixed problem with wxPen::SetDashes. (An array of bytes was typcast
to an array of DWORDs.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:35:24 +00:00
Václav Slavík
9b9cab370f temporary stubs for fullscreen functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:18:43 +00:00
Vadim Zeitlin
b09bda689c added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TREE_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 16:39:49 +00:00
Vadim Zeitlin
82c9f85ce5 added wxTLW for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:34:14 +00:00
Mattia Barbon
a8945eeff6 * Fixed wxToolbar95 and wxToolbarGTK to emit TOOL_ENTER event with id==-1 when the mouse
leaves a tool.
* Fixed wxToolbar95::FindToolForPosition to take into account dummy spacers inserted
  together with a control for comctl32.dll versions < 4.71


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:38:01 +00:00
Mattia Barbon
e1b435afad wxTextDataObject now uses Unicode if compiled with wxUSE_UNICODE.
Fixed wxURLDataObject in MSW.
Added GetSizeFromBuffer, SetSizeInBuffer, GetBufferOffset to wxDataObject
 as per Vadim's suggestion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 00:58:32 +00:00
Václav Slavík
a200c35efa moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:36:18 +00:00
Ron Lee
85d4fc42e9 use 'local' quoting for wx headers in lib source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 23:30:57 +00:00
Václav Slavík
3d285623a7 finally applied the helpbest patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:08 +00:00
Vadim Zeitlin
5549e9f76f added support for polygons to wxRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:56:55 +00:00
Vadim Zeitlin
ebb0781f91 are there still versions of gcc around which require casting WndProc to long? I don't think so...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:12:58 +00:00
Vadim Zeitlin
9787a4b6ad added UnregisterWindowClasses() (patch 447443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 14:42:54 +00:00
Vadim Zeitlin
c48926e149 fixes for Raise() to work correctly with both top level and child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:02:27 +00:00
Vadim Zeitlin
444ad3a719 added wxURLDataObject which unfortunately doesn't seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 23:46:56 +00:00
Vadim Zeitlin
d7eee191c5 implemented, tested and documented wxTextCtrl::SetMaxLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 12:45:53 +00:00
George Tasker
e8e4fa12f2 Removed semi-colons off the end of two macro statement lines so that compilation would be possible for BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 21:45:41 +00:00
Vadim Zeitlin
47606d3612 added wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:13:48 +00:00
Vadim Zeitlin
a37d422a66 fixed processing of the implicit wxTextCtrl accelerators (Ctrl-C/V/X)
without breaking all the others by using a new MSWShouldPreProcessMessage()
function


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 15:07:28 +00:00
Vadim Zeitlin
bf9b6266fa applied patch 446014 (misc mingw fixes from Mattia)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 19:02:17 +00:00
Vadim Zeitlin
baff4ae246 added wxUSE_FINDREPLDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:57:32 +00:00
Vadim Zeitlin
8db37e0699 added generic implementation and documentation for wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:55:03 +00:00
Vadim Zeitlin
9cd6d737d5 1. made ScrollLines/Pages return bool indicating if we scrolled till the
end or not
2. implemented them for wxGTK text ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 15:22:38 +00:00
Vadim Zeitlin
b9b3393e48 added ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:47:40 +00:00