Vadim Zeitlin
b33576e164
don't use non-const wxDC::GetBackground() which doesn't exist any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 21:45:36 +00:00
Stefan Csomor
7d9aac18e9
using const GetPen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 07:18:42 +00:00
Vadim Zeitlin
4230303c54
check for multiple calls to gtk_glwindow_realized_callback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 15:00:36 +00:00
Dimitri Schoolwerth
ce1c674598
removed tab characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:25:07 +00:00
Dimitri Schoolwerth
3d2eaa5d59
delayed destruction of global memLocker object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:19:30 +00:00
Stefan Csomor
09155be84e
allowing shaped windows again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 09:40:47 +00:00
Robin Dunn
abdeb9e700
Added wxControl::PostCreation for wxGTK. Moved calls to
...
InheritAttributes and ApplyWidgetStyle there, and added a call to
SetInitialBestSize. Also removed calls to Show from Create since
PostCreation already does it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:09:32 +00:00
Dimitri Schoolwerth
a04f431b08
improved backwards compatibility when a wxGauge is (incorrectly) created without wxGA_HORIZONTAL style flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 02:38:09 +00:00
Robin Dunn
7a5a571859
Initial/Best size fixes for wxRadioBox, wxSlider and wxStaticText on wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:08:55 +00:00
Vadim Zeitlin
7ec5921d9b
set best size after filling the control with strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:49:22 +00:00
Vadim Zeitlin
3dfb79a67d
removed the old hack needed to size the control properly initially, now it is done by simply calling SetBestSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:48:08 +00:00
Vadim Zeitlin
17c48da8ee
set min size to initial size when it is explicitly given
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:42:46 +00:00
Vadim Zeitlin
085dd1e96f
call SetInitialBestSize(), not SetBestSize(), when setting the best size initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:38:20 +00:00
Vadim Zeitlin
400a9e419b
moved SetBestSize() to .cpp file; set min size from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:33:31 +00:00
Vadim Zeitlin
2aaa050c33
unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 09:19:05 +00:00
Jouk Jansen
e964136c08
Committing in .
...
OpenVMS issue
Modified Files:
wxWidgets/src/motif/toplevel.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 08:09:06 +00:00
Stefan Neis
09990d5a4f
Take the inverted coordinate system into account in wxFindMaxSize.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:12:25 +00:00
Stefan Neis
a00ffdf1c6
Don't choke on NULL pointer passed into wxSlider::GetSize.
...
Take the inverted coordinate system into account when computing size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:05:55 +00:00
Stefan Neis
2da36bfe5a
Don't choke on NULL pointer passed into wxSlider::GetSize.
...
Take the inverted coordinate system into account when computing size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:48:22 +00:00
Vadim Zeitlin
25736956ef
don't let wxChoice created with default size to shrink to nothing in a sizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:06:51 +00:00
Stefan Neis
072ce45768
Workaround for compile problem in IconizeChildFrames.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:25:44 +00:00
Stefan Neis
7b048ef6b6
Added missing include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:24:27 +00:00
Vadim Zeitlin
1cd3409d5e
fixed assert failure for a window which doesn't have a set background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 13:10:43 +00:00
Vadim Zeitlin
78361a0e98
moved OnExceptionInMainLoop() in .cpp from header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Mattia Barbon
e04b7e8e71
Make wxMotif buttons smaller (and nicer) by default,
...
with the option of reverting to the old behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:14:39 +00:00
Robin Dunn
b2ce5e1b27
Implement some base class virtuals to avoid errors related to this not
...
being a true wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 01:55:29 +00:00
Dimitri Schoolwerth
6f28211af2
fixed Xcode 1.2 warnings; code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 00:19:00 +00:00
Robin Dunn
82b978d70d
Reverted last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:46:38 +00:00
Robin Dunn
3e3b7e7556
wxScreenDC also needs a pango context and layout so it can do GetTextExtent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:42:07 +00:00
Robin Dunn
abdb7725e1
In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
...
will always be NULL there will be a wxCHECK asserts triggered whenever
calling base class methods that are valid calls (or just ignored) on
other wx ports. Added a set of macros to be used to test m_widget
that will bypass the wxFAIL if the window is a wxMessageDialog. This
will silence those asserts if the window is a wxMessageDialog and will
let the method doing the check just be ignored in that case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:29:35 +00:00
Mattia Barbon
6e86701b83
Use new wxHashTable implementation not using keyed wxList
...
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Mattia Barbon
15b845f277
Fixed menu separators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:08:23 +00:00
Mattia Barbon
0c02f0701e
Native wxControl::DoGetBestSize() implementation
...
using XtQueryGeometry().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:06:08 +00:00
Mattia Barbon
1248b41f9f
Precompiled headers support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:00:40 +00:00
Stefan Csomor
53d923413a
classic case menubar changed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 09:37:00 +00:00
Stefan Csomor
1d3216f76d
replacing OSX only carbon calls by classic ones for CFM build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 06:34:28 +00:00
Stefan Csomor
57ab966bab
positioning of the insertion point at the end
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 06:32:24 +00:00
Vadim Zeitlin
2d814c19cc
use an internal wxFileSystem in wxHtmlListBox so that references to images could be resolved
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:44:03 +00:00
Vadim Zeitlin
2437f26ca5
fixed bug with SetSelection() not hiding the previously shown page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:15:52 +00:00
Václav Slavík
8ef11eb628
don't export private symbols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 13:17:38 +00:00
Stefan Csomor
3b28eaf5c3
libpng vulnerability CAN-2004-0421
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 12:55:10 +00:00
Stefan Csomor
cfeff6f71c
adaption for CW 8.3 and quick hack for unicode text control size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 12:30:20 +00:00
Stefan Csomor
9d33159901
resources not needed anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 15:15:28 +00:00
Stefan Csomor
432a3d7a86
precompiled headers changed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 15:14:03 +00:00
Stefan Csomor
7548762cb5
first private implementation for MPRemoteCalls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 13:01:46 +00:00
Stefan Csomor
e26cace2bc
obsolete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 12:35:08 +00:00
Stefan Csomor
1f20a739ba
at the moment built in 'old' textcontrol has better overall appearance, added fix for 10.3 only tag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 11:33:29 +00:00
Jouk Jansen
5f9a153ce1
Committing in .
...
OpenVMS : supress warnings on unreacheable code
Modified Files:
wxWidgets/src/motif/dialog.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 07:42:39 +00:00
Stefan Csomor
30e0b1c972
workaround for incorrect find control results because of our non-embedding group boxing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 04:26:17 +00:00
Dimitri Schoolwerth
125ccda196
don't inherit back- and foreground colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-28 23:15:58 +00:00