Commit Graph

6071 Commits

Author SHA1 Message Date
Vadim Zeitlin
cbc8c6ee97 moved wxWinHandleHash below wxWindow declaration as otherwise the dtor of forward declared wxWindow is not called inside WX_DECLARE_HASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:06:23 +00:00
Vadim Zeitlin
cf9df19136 removed wxMotif::wxMenuItem::DeleteSubMenu()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 17:47:50 +00:00
Vadim Zeitlin
ff79234425 distinguish between main keyboard and numeric enter keys (fixes 902095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Robert Roebling
c077ee9433 Applied notebook font patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:57:46 +00:00
Vadim Zeitlin
03b3965c3a why should wxMessageDialog dialog have another m_parent, in addition to wxWindow::m_parent? removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:51:35 +00:00
Vadim Zeitlin
9a63feff3a added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMessage(LVM_SETUNICODEFORMAT) with a call to it in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:39:04 +00:00
Jouk Jansen
a371f70393 Committing in .
wxX11 for OpenVMS (phase 3)
   -minimal.exe for OpenVMS now builds and displays a window but crashes when
    trying to use the menus.

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/include/wx/vms_x_fix.h
 	wxWidgets/lib/VMS_X11_UNIV.OPT
 	wxWidgets/samples/minimal/descrip.mms
 	wxWidgets/src/univ/descrip.mms wxWidgets/src/x11/app.cpp
 	wxWidgets/src/x11/descrip.mms wxWidgets/src/x11/font.cpp
 	wxWidgets/src/x11/gsockx11.cpp wxWidgets/src/x11/utilsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 15:48:03 +00:00
Jouk Jansen
fdc37e95b3 Committing in .
Enabling wxX11 for OpenVMS (Phase 2)
    -partly redo and fix for prevous commit

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/display.h
 	wxWidgets/src/common/dpycmn.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 08:53:09 +00:00
Jouk Jansen
1aebc20057 Committing in .
Enabling wxX11 for OpenVMS (phase 1)

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/include/wx/display.h
 	wxWidgets/samples/minimal/descrip.mms
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/common/dpycmn.cpp
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/html/descrip.mms wxWidgets/src/univ/descrip.mms
 	wxWidgets/src/unix/descrip.mms wxWidgets/src/x11/descrip.mms
 Added Files:
 	wxWidgets/lib/VMS_X11_UNIV.OPT
 Removed Files:
 	wxWidgets/lib/vms_gtk_univ.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 08:04:29 +00:00
Václav Slavík
2a92d7e50f WXUSINGDLL is defined when building samples on non-MSW platforms for simplicity, corrected check for it to affect Win32 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 23:12:58 +00:00
Stefan Neis
33689859bb Reverted setting WS_VISIBLE to 0, too many undesired side effects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 10:49:58 +00:00
Vadim Zeitlin
ea8f6fc718 initialize m_initialized to false to avoid spurious asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 22:20:42 +00:00
Václav Slavík
ca16b7a98e improved HTML tables layout code (patch 911377)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 20:47:31 +00:00
Robin Dunn
c0831a3c31 Implement wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 22:17:07 +00:00
Robin Dunn
c046274e38 implment wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 21:58:53 +00:00
Robin Dunn
178a12204b implement wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 21:58:27 +00:00
Robert Roebling
c7d6d88330 Comitted GTK part of clipboard patch, that
enables non-unicode strings to be seen in
    Unicode apps. This is relevant since KDE
    apps paste non-Unicode text.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 22:46:48 +00:00
Robert Roebling
6d9713540d New menu code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 20:19:20 +00:00
Robin Dunn
5c2be659f9 Fixed comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-13 20:42:58 +00:00
Robin Dunn
66202a7ee6 I keep running into situations where the old small default window size
was expected, and odd initial layouts resulted, so let's leave only
TLWs at the new 400x250 default size, and give all other windows the
old 20x20 default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-13 20:41:09 +00:00
David Webster
fd92852491 Need to ensure WXEXPORT and WXIMPORT are not defined for EMX or INNOTEK builds when compiling with WXMAKINGDLL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 16:38:00 +00:00
Robin Dunn
54313f9ce0 doc fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 02:07:02 +00:00
Robin Dunn
3a12cb0a94 Give wxGauge a best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 01:15:30 +00:00
Stefan Neis
b6db2e9107 C++ comments transformed to C comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:48:53 +00:00
Václav Slavík
bd5e3a811e docs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:30:08 +00:00
Julian Smart
73bb677607 Improved wxTreeCtrl tooltip processing performance (causing
major delays in processing button clicks)
Added wxFULL_REPAINT_ON_RESIZE as default for wxStatusBar
on wxGTK since otherwise there are display problems.
Similarly for wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 17:28:36 +00:00
Robert Roebling
4f85606724 Added wxToggleBitmapButton (it compiles).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 16:46:36 +00:00
Stefan Csomor
daf6ac9f8a header includes corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 12:43:23 +00:00
Stefan Csomor
69d90995bb SetWindowVariant implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 12:42:37 +00:00
Robin Dunn
c26dba42b7 Decided that not doing methods for keyboard commands was not worth the
effort keeping track of which should be eliminated and which should
not.  Now all functions defined in Scintilla.iface will have a method
in the wxSTC class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 00:09:07 +00:00
Robin Dunn
723f8e3a33 Updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:16:28 +00:00
Robin Dunn
a7c26d107d Changed WidthDefault() and HeightDefault() to use 400,250. If there
is a better set of default values feel free to change it, just don't
make them too small for TLWs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:04:10 +00:00
Ron Lee
b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Robin Dunn
cc0bffaceb Changed CanApplyParentThemeBackground to ApplyParentThemeBackground
and let the windows set the the background colour themselves (or not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 05:28:21 +00:00
Robin Dunn
4395fb21f6 Delay checking for the requested sash position until the first
OnInternalIdle after it is set.

TRUE/FALSE --> true/false

Fixed a bug that allowed the sash cursor to be shown the the pointer
is not quite on the sash yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 23:48:41 +00:00
Robin Dunn
bd507486e0 Added CanApplyParentThemeBackground and use it in wxMSW's
wxNotebook::ApplyThemeBackground.  It's in the common base classes so
that someday it's usage can expand to the other platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 17:03:55 +00:00
Stefan Csomor
a6de86fa53 support for wxUSE_PALETTE = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 16:16:58 +00:00
David Webster
884215788f Remove the Innotek for OS/2 addition...configure now deals with this correctly on it's own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 14:33:20 +00:00
David Webster
31bb37a246 Remove the Innotek for OS/2 addition...configure now deals with this correctly on it's own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 14:25:04 +00:00
Robin Dunn
327b382e1e Put version numbers back to 2.5.1 until 2.5.2 is imminent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:40:24 +00:00
Vadim Zeitlin
fa2d17ac25 use global file/regkey by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:04:04 +00:00
Vadim Zeitlin
bee96abfbc added AccessMode parameter to wxRegKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:01:05 +00:00
Mattia Barbon
2a23a89dec Removed duplicated code.
wxTranslateXXXEvent must not alter the XEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 21:03:13 +00:00
Julian Smart
3c2544bb70 Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
theming (some applications look bad without 3D borders)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:44:37 +00:00
Julian Smart
5088af155b Changed some version numbers to 2.5.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:38:09 +00:00
Stefan Csomor
35c40e78c6 API adaptions to MSW EnhMetafile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:10:04 +00:00
David Webster
7047ddc0cf Innotek gcc for os2 specific updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 06:38:41 +00:00
David Elliott
593b256f33 Construct wxCocoaNSWindow with a pointer to this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 03:45:38 +00:00
David Elliott
0092ef0d53 s/wxTopLevelWindow/wxTopLevelWindowCocoa/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 03:44:20 +00:00
David Elliott
7a8691eec8 Constructor now takes a wxTopLevelWindow * = NULL so that the new
GetWxTopLevelWindow() method can be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 03:35:06 +00:00