Włodzimierz Skiba
789f679516
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:39:25 +00:00
Włodzimierz Skiba
1a87edf286
Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Vadim Zeitlin
a0573e8eb0
removed ambiguity from wxGLCanvas ctors (bug 1102544)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 01:52:23 +00:00
Kevin Hock
9440c3d0e9
wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:55:32 +00:00
Robin Dunn
d64396087f
Avoid wxTaskBarIconAreaBase::DoPopupMenu unresolved symbol in GTK < 2.1 builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:06:08 +00:00
Robert Roebling
0ff2a74d0c
Implemented wxBitmap::HasAlpha() and ::UseAlpha().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 20:27:46 +00:00
Vadim Zeitlin
d2400c3ff3
another compilation fix: added dummy UseAlpha(0 and HasAlpha()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:16:33 +00:00
Vadim Zeitlin
f383c5b89c
compilation fix for raw bitmaps (can't include wx/rawbmp.h from wx/bitmap.h as the former includes the latter!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:14:19 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Vadim Zeitlin
64fa6f167e
removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Robert Roebling
284f2b59db
Added raw bitmap access support to GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 15:35:43 +00:00
Robert Roebling
a2ac55f54d
Make wxTLW::Raise() actually bring the window to the top
...
and give it the WM's focus (if supported).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:00:31 +00:00
Jouk Jansen
777105f2b7
----------------------------------------------------------------------
...
Committing in .
-delete superfluous semicolons
-Update OpenVMS compile support
Modified Files:
wxWidgets/include/wx/gtk/region.h
wxWidgets/include/wx/gtk/textctrl.h
wxWidgets/include/wx/motif/icon.h
wxWidgets/include/wx/x11/region.h
wxWidgets/src/common/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 15:01:49 +00:00
Vadim Zeitlin
8127b29715
use DECLARE_DYNAMIC_CLASS instead of DECLARE_ABSTRACT_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 15:48:00 +00:00
Robert Roebling
4b61c88d55
Second try to add "support" for deriving from
...
wxBitmapHandlerBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 14:17:27 +00:00
Robert Roebling
4611dd06a1
Make wxBitmap inherit from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 13:08:44 +00:00
Robert Roebling
0bd3b8eca1
Enable UpdateUI events in wxTaskBarIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 22:39:03 +00:00
Włodzimierz Skiba
7d8268a1d6
wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Włodzimierz Skiba
630ad6c6b6
Common default notebook name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
Włodzimierz Skiba
b4efc9b931
Old API clearly deprecated. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:41:27 +00:00
Václav Slavík
49a1436640
blind fix for GCC compilation when #pragmas are honored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Robert Roebling
5f3565a2fb
Fix for the fix for wxChoice selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 13:13:52 +00:00
Włodzimierz Skiba
b1263dcfa3
Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:24:45 +00:00
Vadim Zeitlin
bd0a76e228
1. derived wxMSW radio box from static box because it includes the box anyhow
...
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
MSW nor GTK (this is the only change in GTK code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Julian Smart
4e324a3fbf
Combobox corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:27:54 +00:00
Julian Smart
150e31d208
Added further 'missing' wxTextCtrl-like functions to wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Robert Roebling
78b3b018ce
Corrected wxComboBox::GetValue() after a
...
selection has changed. Added test for
that to the "widgets" sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:08:28 +00:00
Robert Roebling
16edee16a7
Apply choice patch for proper handling of clearing
...
wxChoice (it reported a selection value of 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Robert Roebling
4e1901b70e
Moved the implemtation of the generic and the
...
native GTK 2.4 file dialogs into one place
by making wxFileDialog derive from the
generic variant and by then choosing which
implementation to use. Later, we'll add
run-time checks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Włodzimierz Skiba
cb9d5bd07e
wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Robert Roebling
41b81aed52
Applied Freeze()/Thaw() patch for wxTextCtrtl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Włodzimierz Skiba
ab9d0a8ca3
IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Robert Roebling
c2740a5aab
Dirty hack to prevent double destruction of file dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:54:13 +00:00
Václav Slavík
6120f2fcdb
fixed subtle SetDirectory bug re-introduced by latest changes (explained in comment in UpdateDialog); reintroduced UpdateDialog so that fixes like this are kept in single place and affect all ways of setting the patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 10:49:01 +00:00
Robert Roebling
f1dec25f31
Avoid error message when closing message
...
dialog with the X field from the WM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:21:12 +00:00
Robert Roebling
76840ed0db
Fixes for file dialog. No longer spits out
...
GTK error messages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:18:40 +00:00
Robert Roebling
cffcf831ad
Work in progress on printing stuff.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 21:50:31 +00:00
Julian Smart
706fb8932a
Changed Rocketeer licence to wxWindows licence, by authorisation
...
of the copyright holder, Johnny C. Norris II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Robert Roebling
08680429a2
Made wxPageSetupDialog a pimpl implementation.
...
Added a few clean-ups.
Added native GNOME page setup dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Václav Slavík
9755e73bd9
applied modified patch with native GTK wxFileDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Robert Roebling
0be7709e71
Added support for native print preview (GNOME)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
2934005d7d
Use native printing dialog for wxPrintDialog,
...
not for setup only as before. It prints,
but page selection etc. is still an idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Václav Slavík
fe593cc504
(hopefully) fixed race condition in installing idle handler (calling wxPostEvent from non-main thread)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 20:04:59 +00:00
Václav Slavík
448c8e496d
m_wakeUpTimerTag is not used anywhere, removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:13:07 +00:00
Robert Roebling
cd86bf1e7e
Forgot to commit header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 20:47:05 +00:00
Robert Roebling
58c30cd80c
Further compile fixes.
...
Added module so that linking to GNOME printing
code will install its wxPrintFactory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 23:05:24 +00:00
Robert Roebling
7c72311fe1
Added --with-gnomeprint and its wxUSE_LIBGNOMEPRINT
...
Removed the now obsolete test for FT2 (FreeType)
which was used by the Pango based printing which
I removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:40:51 +00:00
Robert Roebling
ff910433fc
Added initial support for GNOME printing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:19:30 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Václav Slavík
e0aeebed0a
fixed previous revision: call wxControl's, not wxButton's DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 13:13:39 +00:00
Václav Slavík
b2b4469be1
wxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing bug)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 12:38:21 +00:00
Vadim Zeitlin
3db7220e05
unused params warnings (patch 1048431)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 19:41:18 +00:00
Julian Smart
d2b1753d16
Applied patch [ 1039940 ] Prevent redefinition of MM_xxx mapping mode constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:42:11 +00:00
Václav Slavík
571f6981e2
moved wxWindow::GetBestSize implementation into DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 16:37:58 +00:00
Vadim Zeitlin
6b30a44ed0
renamed HasFocus() to IsActive() to avoid confusion with FindFocus(); documented it; avoid code duplication in GTK1 version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 14:32:09 +00:00
Robert Roebling
35ff90a0b3
Added wxTopLevelWindow::HasFocus() as discussed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 14:17:23 +00:00
Vadim Zeitlin
e1ff932979
fix for crash on 64 bit platforms (patch 1028942)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:34:09 +00:00
Václav Slavík
5f7bcb48fd
new stock buttons API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Julian Smart
c7382f913c
SetBackgroundStyle(wxBG_STYLE_CUSTOM) can now be used to optimize
...
background erase on wxGTK (no-op on other platforms)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 13:32:45 +00:00
Václav Slavík
87e53e2a94
use GTK+ API for setting icons instead of direct X11 calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:23:14 +00:00
Václav Slavík
feac79373c
added alpha channel support to wxGTK2's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:42:06 +00:00
Václav Slavík
4fab71288e
1. added support for bitmaps with alpha channel
...
2. use GtkImage instead of deprecated GtkPixmap with GTK2
3. create bogus pixmap instead of GtkLabel in wxStaticBitmap with invalid bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:41:04 +00:00
Václav Slavík
401e3b6e5f
added stock buttons support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:56:56 +00:00
Václav Slavík
718e35a651
gtk notebook page style fixes (patch 984864)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 07:51:56 +00:00
Vadim Zeitlin
acb69c1342
invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:38:36 +00:00
Vadim Zeitlin
db4c39a9e8
fixed header include guard position (patch 992443)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:36:51 +00:00
Robin Dunn
4aae4a085c
Fix for unhiding the other version of the base class HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:26:25 +00:00
Vadim Zeitlin
c04ec49657
fixed inserting styled text into an empty control under GTK+ 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Robin Dunn
fe5ddd9250
DoPrepareDC needs the dc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 18:13:12 +00:00
Vadim Zeitlin
5de9f492ec
added DoPrepareDC()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Václav Slavík
73a7e9399f
HAVE_XIM is disabled in GTK2 build, don't include useless member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 17:11:02 +00:00
Stefan Csomor
5ac2e80ca2
making getter const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 16:33:17 +00:00
Václav Slavík
7545e13206
a better way of applying style changes to label_widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:58:10 +00:00
Robert Roebling
e37168448f
Not sure how important that is, but now you
...
can set the font of a static box.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:28:22 +00:00
Václav Slavík
a589495eeb
implemented tab order in wxGTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:16:03 +00:00
Václav Slavík
e74c05294a
m_queuedFullRedraw is not used anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:02:05 +00:00
Václav Slavík
66bd83b4ec
fixed setting colour of wxStaticText in case the label contains XML special characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Václav Slavík
4dcccda66b
implemented 3state checkboxes in wxGTK with GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:53:22 +00:00
Václav Slavík
a3c15d892d
more fixes to keypress handling in wxGTK:
...
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:25:39 +00:00
Václav Slavík
da21012040
use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 17:54:08 +00:00
Robin Dunn
c0e6c05138
reverted m_adjustMinSize change prepatory for a new approach to fix
...
the problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Václav Slavík
7074ce3577
moved DoApplyWidgetStyle to wxWindowGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:49:26 +00:00
Robin Dunn
fe161a2685
Controls will readjust their size and minsize when SetLabel or SetFont
...
are called. Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality. Made SetBestSize public under the
SetBestFittingSize name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Václav Slavík
5edef14ec8
reset fg/bg colour and font to default if set to wxNullColour/Font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00
Václav Slavík
f40fdaa339
fixed GTK styles handling:
...
1. don't modify the style unless something changed
2. use gtk_widget_modify_style instead of gtk_widget_set_style, the latter is not recommended by GTK+ developers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 17:34:00 +00:00
Václav Slavík
1543645813
respect GTK+'s theme tooltip colour settings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:27:26 +00:00
Dimitri Schoolwerth
dabbc6a5a1
removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Václav Slavík
274ad000d2
added native wxColourDialog for GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:02:14 +00:00
Václav Slavík
85f6b408df
split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Václav Slavík
33d4eef0b9
implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
9d522606d0
Get(Class)DefaultAttributes() for wxGTK controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:26:25 +00:00
Vadim Zeitlin
d16b634fa3
use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +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
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
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
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
Robin Dunn
95561ddfc3
Change SetStringSelection to return bool like in other classes and ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:59:35 +00:00
Robin Dunn
49826dabe6
Fix wxGTK's menu and menubar so Insert does something other than
...
always append.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:05:52 +00:00
Robert Roebling
3851e47918
Applied patch for hiding statusbar.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:27:11 +00:00
Vadim Zeitlin
c4ca49cde3
implemented GetBestSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Robert Roebling
174b10af34
Applied SetForegorund colour patch for GTK2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:07:31 +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
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
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
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
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
Mattia Barbon
584ad2a32f
Added some missing STL-like wxArray/wxArrayString constructors.
...
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Robin Dunn
9add93670b
wxMenu::Append (and similar) now return a pointer to the wxMenuItem
...
that was added. Checked on MSW, GTK, and Mac, other port authors
please double check changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Vadim Zeitlin
f8f9ec5563
implemented SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 15:20:34 +00:00
Vadim Zeitlin
279b5e2ece
implemented HitTest() (modified patch 875957)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:47:19 +00:00
Julian Smart
aad6765cbd
Applied patch [ 828303 ] Slight wxColour cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Robin Dunn
e8e24dfa93
Use InheritAttributes for wxGTK widgets so they will check
...
ShouldInheritColours. Set wxButton to not inherit colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 03:24:47 +00:00
Vadim Zeitlin
45bbbc5430
use #if WXWIN_COMPAT and not #ifdef (patch 826160)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:22:11 +00:00
Vadim Zeitlin
4e6b83091a
added CreateByName(), use it in wxColourDatabase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Robert Roebling
783da8450c
Added wxBitmap::Rescale() from 2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Robin Dunn
bfe3577625
Added a const to be consistent with the generic class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:51:36 +00:00
Vadim Zeitlin
cc70081166
removed Initialized()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:20:28 +00:00
Vadim Zeitlin
dd435a79ed
removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Robin Dunn
e04fe03d0f
Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
...
an IsVertical method added too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 20:08:25 +00:00
Vadim Zeitlin
3bf5a59b5e
pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
3a9fa0d6b5
added wxTextCtrl::MarkDirty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Vadim Zeitlin
6f6f938f3a
derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:31:06 +00:00
Vadim Zeitlin
1bf77ee556
use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
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
Mattia Barbon
789d0a3dd9
wxGTK compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:44:52 +00:00
Vadim Zeitlin
15aad3b938
created wxBookCtrl which will be tje base class for wxNotebook and wxListbook; moved almost all of wxNotebookBase code into it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 22:57:07 +00:00
Vadim Zeitlin
596f1d1160
renamed wxWindow::Clear() to ClearBackground() for wxGTK as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:47:43 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Václav Slavík
85f582bda7
wxJoystick and wxWave are now available in all Unix ports, the code was not GTK specific
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 13:50:49 +00:00
Vadim Zeitlin
5b36366c59
gave default parameters for wxBrush() ctor from wxColour (this is what is used in 99 of cases...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:41:48 +00:00
Vadim Zeitlin
4f53523161
gave default parameters for wxPen() ctor from wxColour (this is what is used in 99 of cases...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:39:34 +00:00
Vadim Zeitlin
6f12c2c955
load any files, not only XPMs, in wxIcon(wxIconLocation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 12:21:22 +00:00
Mattia Barbon
b5f6b52ab3
Compilation fix for !WXWIN_COMPATIBILITY_2_4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:32:44 +00:00
Vadim Zeitlin
f74172ab42
extracted common code into a single wxfileDialogBase class (patch 758901)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +00:00
Julian Smart
955a919785
Rationalised OnIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
Vadim Zeitlin
f9dae7798b
added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:53:00 +00:00
Vadim Zeitlin
30ed6e5c89
GetClientData(int n) should be const (part of patch 649438)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:55:04 +00:00
Vadim Zeitlin
997176a346
added missing #include <wx/defs.h> (parts of patch 649438)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:48:53 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Robert Roebling
3a97d2db67
Upported mouse click detection change for wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:18:42 +00:00
Vadim Zeitlin
70dc287a39
removed wxFunction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
abca8ebff1
small wxGTK compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:33:30 +00:00
Vadim Zeitlin
55e90a2ea9
added empty Init/CleanUpStandardHandlers() for compatibility with the other platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:11:23 +00:00
Vadim Zeitlin
05e2b077c6
more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091
extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Vadim Zeitlin
aaf7ab431b
added wxIconLocation; minor fixes to wxIcon on some platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
243dbf1a50
Insert() patch from John Labenski
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:58:28 +00:00
Robin Dunn
819451b6c7
Reversed the meaning of black and white in wxRegion::ConvertToBitmap
...
so it matches the menaning of black and white in wxMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Vadim Zeitlin
8ab40c5227
fixes for working with mono bitmaps (patch 728768)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:31:30 +00:00
Robin Dunn
1542ea396a
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
...
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Václav Slavík
eaafd2f8b7
added support for GTK2 label mnemonics (patch #689573 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 23:34:52 +00:00
Robert Roebling
1a44c9258a
Added wxComboBox::SetString patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 10:00:29 +00:00
Václav Slavík
7f980cffb8
fixed wxScrollBar creation when default size was used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:41:00 +00:00
Václav Slavík
13a7abf973
added native wxMessageDialog implementation for GTK+2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:37:46 +00:00
Vadim Zeitlin
9045ad9dfc
added DoSetNativeFontInfo() to avoid virtual function hiding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 15:42:27 +00:00
Robert Roebling
adfb70c30f
Removed unnecessary SET_STYLE.. macros.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:54 +00:00
Robert Roebling
138618acb9
Small speed up to fonts and support for scaling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:39:51 +00:00
Ron Lee
99006e446e
Added wxTreeCtrl::GetItemParent to deprecate GetParent.
...
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.
Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.
Updated docs to suit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
ab7ce33c56
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
Vadim Zeitlin
8161b5b9f0
fix wxCheckListBox which was completely broken by the Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:45:39 +00:00
Robert Roebling
acbeb7b368
strings are now wxChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:43:00 +00:00
Robert Roebling
331a0b6b7a
New code for Update() under GTK 2.0. Added
...
native GdkRegion() constructor to wxRegion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:58:23 +00:00
Julian Smart
b318dc4237
Applied patch [ 579219 ] wxNotebook:SetPadding added
...
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.
Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.
It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.
Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.
A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).
I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Robert Roebling
dd398cd02c
Added various MACROS for converting strings
...
back and forth in the different ansi/unicode/gtk
mode/versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:57:53 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Robert Roebling
ee4ead93f4
No events when setting values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 21:01:38 +00:00
Julian Smart
5152b0e59a
Added AddGrab, RemoveGrab, IsGrabbed to wxTopLevelWindowGTK
...
and AddGrabIfNeeded to wxHtmlHelpController, to assist with
showing the help window from a modal dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 21:46:42 +00:00
Vadim Zeitlin
0d6d6051d7
added ViewStart() as synonym for GetViewStart() in WXWIN_COMPATIBILITY_2_2 mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 12:47:40 +00:00
Robin Dunn
be88a6ade9
Fixed wxApp::OnAssert signature.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 01:43:03 +00:00
Robert Roebling
ad9fb0334f
Dislaying popup tip windows seems to work right now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:35:51 +00:00
Vadim Zeitlin
6b0d8a01d1
added default parameter values to the overloaded Show() and Enable() versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Robert Roebling
ac0c857aaa
Overrode wxMDIChildFrame's DoSetSize to not misplace
...
the window when it was using wxFrame's method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 14:24:29 +00:00
Vadim Zeitlin
03b444f6af
removed unused wxWindowGTK::m_isFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:18:34 +00:00
Vadim Zeitlin
2b4f3c9f76
replaced m_isRadioButton with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:17:23 +00:00
Vadim Zeitlin
d760f23e76
replaced wxWindowGTK::m_isListBox with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:14:00 +00:00
Vadim Zeitlin
d1f2ac459a
replaced wxWindowGTK::m_isStaticBox with a virtual function and replaced 3 occurences of the code finding the window for the mouse events with one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:13:17 +00:00
Vadim Zeitlin
3ae4c570c4
replaced wxWindowGTK::m_isListBox with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:00:01 +00:00
Vadim Zeitlin
6cad4f1b21
fixes for the focus handling: don't set back to back set/kill focus events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:51:43 +00:00
Vadim Zeitlin
dbc65e2760
fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Gilles Depeyrot
34eac3a87d
corrected pragma interface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:13:20 +00:00
Gilles Depeyrot
d84afea9d1
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Vadim Zeitlin
c3dfaa10a6
initialize wxBitmapButton members
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 11:57:39 +00:00
Vadim Zeitlin
2245b2b2c3
changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Vadim Zeitlin
73847506eb
removed unused OnSetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:44:36 +00:00
Vadim Zeitlin
6aeb6f2a58
fixed initial focus handling in the dialog and made SetFocus() send the focus
...
events as under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:53:11 +00:00
Vadim Zeitlin
4b912ef220
made operator==() and \!=() const (still doesn't make them correct probably)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:20:49 +00:00
Ron Lee
566d84a7c3
Added knowledge of virtual size to wx(Scrolled)Windows, they can now
...
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.
Modified Files:
docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
docs/latex/wx/window.tex include/wx/scrolwin.h
include/wx/sizer.h include/wx/window.h
include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
samples/scrollsub/scrollsub.cpp src/common/parser.y
src/common/sizer.cpp src/common/wincmn.cpp
src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
Robert Roebling
010afced51
Updated makefile for mobile sample.
...
Updated changes.txt.
Moved contents of ::Update() to ::GtkUpdate()
Moved internal idle functions in wxApp to
its own function.
Tried to fix themed background redraw problem
(probably same bug in wxNotebook and in
wxStatusBar and others).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 17:39:49 +00:00
Julian Smart
387ebd3eb7
Added wxDF_HTML
...
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Robert Roebling
4b04699b67
Fix wxListCtrl background colour bug Part I
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 19:01:55 +00:00
Robert Roebling
b5a49d4c52
A bit of scrolling works under GTK 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 18:01:50 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Vadim Zeitlin
e76c0b5fc5
implemented (but it doesn't work yet) the radio buttons and text in the buttons for the GTK toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:18 +00:00
Vadim Zeitlin
092f753690
fixed the menu bug introduced by the previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 14:31:43 +00:00
Václav Slavík
0e04ef47f6
move wxApp::GetStdIcon to wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Václav Slavík
599ea87e64
moved the rest of XPMs to /art
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:18:03 +00:00
Vadim Zeitlin
2368dcda39
compatibility constructors for wxMenuItem() taking bool instead of wxItemKind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 01:23:11 +00:00
Václav Slavík
546bfbea81
wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +00:00
Vadim Zeitlin
d65c269b3f
1. implemented radio menu items for wxGTK
...
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs
----------------------------------------------------------------------
Committing in .
Modified Files:
distrib/msw/tmake/filelist.txt docs/changes.txt
docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
include/wx/gtk/menu.h include/wx/gtk/menuitem.h
include/wx/mac/menuitem.h include/wx/motif/menuitem.h
include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
include/wx/univ/menuitem.h samples/menu/menu.cpp
src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
src/motif/menuitem.cpp src/msw/menuitem.cpp
src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
include/wx/features.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Václav Slavík
8c2f379786
added Calc(Un)ScrolledPosition taking wxPoint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:14 +00:00
Robin Dunn
3048629765
Give wxScrolledWindow its own Layout method that takes into account
...
the virtual size and scrolled offset of the window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:21:47 +00:00
Vadim Zeitlin
9e691f46b2
changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
...
sample crashes on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Vadim Zeitlin
0b06ac1f24
compilation fixes after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:53:41 +00:00
Vadim Zeitlin
c8531822d5
added SetString(), deprecated SetLabel()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:45:08 +00:00
Julian Smart
7edcafa467
Removed some debug code from window headers; added some debug
...
code to try to figure out capture problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Vadim Zeitlin
c3e44503cf
fix for wxUniv/GTK scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:09:49 +00:00
Robert Roebling
c89f5c02b1
Added missing test in wxObject::Ref() for already
...
equal objects (same m_refData).
Implemented new ref counting for wxBrush, wxPen
and wxColour (in addition to wxRegion). Also
inlined some more functions and implemented
real comparisons.
Corrected refresh code to update GTK's window-less
widgets if overdrawn after a wxWindow::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Robert Roebling
3bcc8d1581
Now updating and clearing are done in a delayed fashion.
...
The m_updateRegion gets updated and the (often much
smaller) m_clearRegion gets cleared. This removes the
flicker introduced by having delayed updates and
immediate clearings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:05:28 +00:00
Robert Roebling
48850fa74d
Big wxRegion clean up.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:04:23 +00:00
Robert Roebling
e0f0b19775
Ref counting fixes and compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 10:42:16 +00:00
Vadim Zeitlin
9fe4c99cc5
fixed wxRegion::Offset() to not modify the shared regions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 11:49:31 +00:00
Julian Smart
7eff657c07
Applied wxImage -> wxCursor patch, tool window event table fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:11:06 +00:00
Robert Roebling
35917d228a
Added wxRegion::Offset(x,y)
...
Go to plan B: wxWindow::Scroll() now moved the
m_updateRegion for later processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 17:25:18 +00:00
Robert Roebling
beab25bde3
Some changes for new Update/Refresh behaviour. This
...
commit actually doesn't change anything. I just cleared
some code and added the new interface. I want this to
be seperate from the commit (if any) that introduces the
new behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:23:10 +00:00
Vadim Zeitlin
94633ad9f1
maintaint the mouse capture stack in all ports, not just wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Vadim Zeitlin
409d5a5860
better native font support for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
Vadim Zeitlin
53f6aab752
added wxFont::IsFixedWidth(), documented it and implemented for wxGTK/Motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 19:04:35 +00:00
Václav Slavík
eeadb14c3d
removed setup0.h artifacts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:03 +00:00
Václav Slavík
658974ae66
applied ANI images patch and added wxUSE_ICO_CUR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Robert Roebling
005f5d1878
Some additions to the 12-bit patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 12:21:57 +00:00
Václav Slavík
55c43a7cbb
wxSystemSettings mods in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:52:53 +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
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
Václav Slavík
c5f9d1567c
wxMouseEvent's coordinates are now relative to client area origin in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:03:30 +00:00
Robert Roebling
9864c56ded
More changes to various controls for more reliably
...
preventing them from emitting event when their
state was changed programatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:50:58 +00:00
Robert Roebling
bac957422a
Changed/Fixed way in which wxListBox blocks events
...
after changing its state programatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 22:32:15 +00:00
Robert Roebling
2710a096d1
Removed unused variable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:00:18 +00:00
Robert Roebling
e2762ff06a
wxListBox mouse events now report coords relative
...
to the whole list box.
wxRadioButton doesn't emit any event when unpressed.
Similar correction to wxRadioBox and wxToggleButton.
Upported change to wxMenuEvent so that the id is
set in the constructor. Otherwise the EVT_MENU
macro is pretty useless. Already in 2.2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 23:24:16 +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
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
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
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
e8106239b2
missing extern "C" added to fix linking problems with some GTK+ versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:28:23 +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
Václav Slavík
82f2d91978
fixed wxGTK fullscreen mode, broken by my previous change to gtk/toplevel.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 17:54:31 +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
Vadim Zeitlin
a6f5aa49cf
applied wxGLApp patch ( #464500 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:53:55 +00:00
Václav Slavík
db0aec831d
added wxBitmap::CopyFromIcon to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:36:17 +00:00
Václav Slavík
f819b4a3ab
evaluate window style in Create, not later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:38:02 +00:00
Václav Slavík
b9f2926155
fixes to client area origin handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:45:14 +00:00
Václav Slavík
7d9f12f3b9
wxTopLevelWindow (only for wxGTK for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13: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
Robert Roebling
76fcf0f239
Various changes for simplification of focus event
...
code in wxGTK. It will also work for wxComboBox
now, but not for GTK's other composite controls
such as wxListBox and wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Vadim Zeitlin
ce2f50e34a
added sending of EVT_TEXT_MAXLEN to wxGTK, suppressed sending of dummy
...
EVT_TEXT_UPDATED events when the text doesn't really change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:18:51 +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
Vadim Zeitlin
c40ce5ce77
removed redundant InitDialog methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:24:03 +00:00
Robert Roebling
159b66c02a
Applied patch for wxComboBox and wxListBox to
...
prevent "hanging" in single selection mode.
Also removed call to AddPendingEvent and
changed wxLB_EXTENDED mode so that no changes
to the listbox go unnoticed.
I do wonder what the difference between multiple
and extended list boxes actually are.
Not suer what I changed in the other files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 21:06:13 +00:00
Václav Slavík
fe6b43a36e
reverted my Set/getTitle change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-04 22:36:19 +00:00
Václav Slavík
a264ece2c5
Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h (and no, we can't get rid of them completely unless Vadim stops using them in wxUniv)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 23:32:27 +00:00
Vadim Zeitlin
6788ecb8a9
applied patch 444915 (warning fixes for gcc 2.95.4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 15:00:33 +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
0cc7251efe
added wxWindow::Freeze/Thaw(), implemented them for wxGTK::wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 08:33:53 +00:00
Gilles Depeyrot
1d8729431c
corrections for wxGtk compilation under Darwin/Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 05:32:09 +00:00
Robin Dunn
b342f8f0a6
Added RTTI macros to wxToolTip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:23:30 +00:00
Vadim Zeitlin
a5f1fd3e33
added and documented wxApp::OnAssert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 15:19:32 +00:00
Julian Smart
0cbff1201a
Added wxUSE_DC_CACHEING and associated code to wxMSW
...
Added EnableCache, CacheEnabled to wxDCBase
Added mask source args to DoBlit, Blit
Added cache testing code to dragimag sample
Added wxSystemOptions, regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 10:07:06 +00:00
Vadim Zeitlin
6522713c75
wxUniv compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:25:46 +00:00
Vadim Zeitlin
af8964c4c3
simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 21:41:19 +00:00
Robert Roebling
9f41d60156
Added wxPopupWindow to GTK port, wxComboBox had to
...
be adapted a little but basically works not under
GTK/Univ.
I am pretty sure I forgot some file...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 21:42:30 +00:00
Jouk Jansen
1a0d517ea4
Committing in .
...
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/caret.h
wxWindows/include/wx/dynlib.h wxWindows/include/wx/hash.h
wxWindows/include/wx/gtk/window.h
wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/unix/dialup.cpp
-Removed some redundant ;'s from the .h files
-Updated wxGTK for OpenVMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:23:32 +00:00
Vadim Zeitlin
3379ed3789
tons of fixes for wxGTK/Univ - seems to work, more or less, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Vadim Zeitlin
07b8d7ecc3
1. fixed wxGTK notebook which was completely broken by the merge
...
2. added a new file for commno notebook code (nbkbase.cpp)
3. removed 'include "wx/wx.h"' from html files as I got tired of
recompiling them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 18:34:13 +00:00
Vadim Zeitlin
4f9db74e98
added default values for SetSizeHints() arguments, as in wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:41:39 +00:00
Vadim Zeitlin
32d50c82ec
fix for compilation with wxUSE_MENU_CALLBACK=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:51:19 +00:00
Vadim Zeitlin
4f55a07f9f
linking fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:17:39 +00:00
Vadim Zeitlin
29149a6491
compilation fixes - wxGTK compiles but not links
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 21:29:16 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
17665a2b5c
implemented text styles for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 17:41:33 +00:00
Vadim Zeitlin
1c7e7d5b1e
applied patch 433352 (fix for wxTextCtrl::SetForegroundColor())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 16:37:14 +00:00
Vadim Zeitlin
3dd9b88ac2
we now send iconize events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 14:32:06 +00:00
Vadim Zeitlin
36202885d4
fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 14:01:02 +00:00
Julian Smart
fdca68a670
Implemented OnParentEnable to allow widgets to reset their colours
...
after a wxWindow::Enable call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:58:05 +00:00
Robert Roebling
830ed6d97d
Some minor clean-ups to the wxScrolledWindow code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 20:09:10 +00:00
Robert Roebling
0bc0cd5d81
wxScrolledWindow next take, the Gizmo controls
...
work again and several other problem have
been solved, among them at least on reported
about the old implementation (wrong max size
due to a rounding error).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 16:40:06 +00:00
Robert Roebling
d9a4f62064
wxScrolledWindow now emits wxScrollWinEvents. Something
...
does not work yet as desried, though.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 14:32:41 +00:00
Julian Smart
fa3541bd15
Changed generic wxScrolledWindow -> wxGenericScrolledWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 12:35:54 +00:00
Robert Roebling
30954328be
wxScrolledWindow is now a native widget under GTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-29 15:27:57 +00:00
Václav Slavík
ce113d5ffe
moved gtk/palette.h to generic/paletteg.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:24:37 +00:00
Václav Slavík
fd85921189
I moved platform specific code from wxImage to wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:15:36 +00:00
Václav Slavík
fe2e43661e
moved splines rendering code into wxDCBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-13 23:38:57 +00:00
Vadim Zeitlin
1db8dc4a2b
applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
Vadim Zeitlin
d752a3c394
modified check listbox indicators and made them customizable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-28 14:07:00 +00:00
Vadim Zeitlin
7826e2dd83
wxNativeFontInfo changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 21:15:16 +00:00
Vadim Zeitlin
30764ab524
applied wxNativeFontInfo patch from Derry Bryson (with minor changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 01:00:25 +00:00
Vadim Zeitlin
a1f79c1e00
1. added wxGTK::wxToolBar::SetToolShortHelp() and test for it in sample
...
2. fix a crash if SetSelection is called too early in wxTextCtrl
3. patch for mouse position in wxTreeCtrl events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:07:12 +00:00
Václav Slavík
a1db952fde
added wxCursor ctor for creation from bits array
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-18 14:46:58 +00:00
Vadim Zeitlin
7b30ac82dd
compilation fix (sorry!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-31 15:13:54 +00:00
Vadim Zeitlin
376aa62a5d
wxDC::GetSize() should work now in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 16:43:37 +00:00
Vadim Zeitlin
0104114590
fixed problem with calling SetFont() when (multiline) text control didn't have any value yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:11:42 +00:00
Václav Slavík
b656febdf0
added wxNotebook::AssingImageList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:25:07 +00:00
Vadim Zeitlin
c0f09a2e88
1. wxFrame::IsIconized() fixed - seems to work
...
2. a couple of unused vars removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 12:25:42 +00:00
Robert Roebling
3d0c4d2e7b
Applied DrawArc patch.
...
Applied break-up-region patch.
Implemented sort of ShowFullScreen() - test in scrollsub.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 10:51:30 +00:00
Julian Smart
37d403aa1c
Added to wxSystemSettings for better GTK+ themes compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 08:35:30 +00:00
Jouk Jansen
f920114415
Committing in .
...
Modified Files:
wxWindows/include/wx/gtk/app.h
Added wxEntry like in other ports (i.e. Motif)
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 05:50:48 +00:00
Václav Slavík
019faef468
added wxIcon::CopyFromBitmap to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:44:18 +00:00
Jouk Jansen
d02af7bbb9
Committing in .
...
Modified Files:
wxWindows/include/wx/gtk/app.h wxWindows/lib/vms_gtk.opt
wxWindows/samples/minimal/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/generic/colrdlgg.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/descrip.mms
wxWindows/src/gtk/filedlg.cpp wxWindows/src/gtk/fontdlg.cpp
wxWindows/src/gtk/frame.cpp wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp wxWindows/src/unix/descrip.mms
Patches for wxGTK for VMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 13:24:55 +00:00
Vadim Zeitlin
40d432c482
wxMDIFrames define DoGetClientSize() and not GetClientSize() to avoid hiding
...
the base class methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 11:00:06 +00:00
Vadim Zeitlin
885df446a3
src/gtk/mdi.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 10:59:02 +00:00
Unknown (NI)
f48d169c4a
applied the patch by Garrick Meeker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 17:31:40 +00:00
Ove Kaaven
8943b4030c
Really cheesy attempt to make wxDC::DrawText() utilize gtk+ 1.3.1's
...
multilingual text rendering engine to draw Unicode text (doubt this works
on wxMemoryDC, but at least it makes the generic listctrl show unicode text).
But I suspect that the text engine really should be abstracted at
a higher level in wxWindows...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:44:14 +00:00
Ove Kaaven
d42508c2a0
gtkfeatures.h does not exist under gtk+ 1.3.1, #ifndef it out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:28:55 +00:00
Ove Kaaven
8a667305e7
wxGTKDash is also a gint8 under WXGTK20
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:27:41 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Jouk Jansen
27df579a6f
Committing in .
...
Patches for the wxGTK compilation on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/include/wx/gtk/app.h
wxWindows/samples/minimal/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Robert Roebling
8cb9f0d0f8
Fixed missing paint events when overriding DoMoveWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 20:08:31 +00:00
Vadim Zeitlin
0f8df1b95c
wxDropSource should have def ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:01:06 +00:00
Ron Lee
236a9de39a
moved wxDash typedef to gdicmn.h
...
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Ron Lee
2eca425d4b
separated wxDash type from platform specific wxGTKDash type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:49:19 +00:00
Robert Roebling
b420fb6a37
Small oops in redrawing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 19:49:54 +00:00
Robert Roebling
b6fa52db66
Some make corrections for HP and related,
...
Changed refresh order so that window-less widgets
don't get overdrawn anymore,
Prevent GTK from filtering our supposedly unneeded
expose events,
Block all expose calls if a resize is requested and
do a full redraw then, thus removing flicker and
behaving like wxMSW,
Moved some doubled expose and draw code from GtkPizza
to the respective callbacks in window.cpp,
Set idle priority to a higher value (which should
indicate a lower priority if I interpret glib.h
correctly) but the desired side-effect didn't
really show up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Vadim Zeitlin
a6e2b3a831
patches from Ricky Gonzales <gonzales@pyramid3.net>:
...
1. BC++ 5.5 compilation/building fixes
2. wxMSW listctrl will use correct ILC_COLOR flag depending on current display
depth
3. wxFrame::Show() argument is TRUE by default undet GTK/Motif too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:16:12 +00:00
Robert Roebling
e1208c3103
Lotta stuff for drawing etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:23:26 +00:00
Julian Smart
8b089c5e8c
Moved wxGLCanvas to more normal positions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00
Václav Slavík
93d3817568
minimalistic build fixes (mostly #if wxUSE_something)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:04:26 +00:00
Robert Roebling
c826213d96
Added bitmap create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:48:27 +00:00
Robert Roebling
0e09f76e6d
Slightly better GC pooling,
...
Implemented automatic updateregion clipping as MSW does.
Made drawing sample a bit saner.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:02 +00:00
Robert Roebling
3d2d8da1d8
Implemented MSW's paint region clipping, but
...
it exposed some bug in GTK's guffaw stuff.
Implmented GC pooling.
Implemented Corrcet mixing of pain region clipping,
user clipping and masked bitmap clipping.
Minor other corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:16:32 +00:00
Vadim Zeitlin
cd9da20028
added and documented wxDC::DrawCheckMark()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:53:36 +00:00
Robert Roebling
80a58c9968
Added BMP files for wxPlotWindow,
...
Replaced wxWindow with wxNotebookPage in wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:28:21 +00:00
Robert Roebling
8febdd3905
Fixed status bar probs,
...
Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 17:56:26 +00:00
Vadim Zeitlin
ed79198695
1. wxTimer change - now generates EVT_TIMER()
...
2. wxStatusBar reorganisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:57:38 +00:00
Robert Roebling
68df5777c7
Tried to fix corrupted display of wxTextCtrl,
...
Corrected wxFileDialog's multiple file option.
Corrected event mask for CaptureMouse(),
Small change to "best visual" code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:59:12 +00:00
Vadim Zeitlin
4a539480fb
missing Init() added to wxMenu(wxCallback) ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Vadim Zeitlin
bf3dab485a
some fixes from the SGI build log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:47:21 +00:00
Robert Roebling
8253c7fda1
tabbing in controls sample works again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:51:36 +00:00
Robert Roebling
846e1424e2
A no-change for scroll events.
...
Added y-axis to wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
Robert Roebling
5b8a521e59
Next try at avoiding too few or too many size events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 20:06:47 +00:00
Robert Roebling
41fbc84101
black now denotes 0 on mono-bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:39:27 +00:00
Robert Roebling
82ea63e6e0
Chnages to mono-bitmap code.
...
Added ConvertToMonoBitmap() to wxImage.
Minor changes to forty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 17:57:18 +00:00
Vadim Zeitlin
3b59cdbfaf
wxMenuItem::GetLabelFromText() added/documented, bug in wxMenu::FindItem() fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 13:58:41 +00:00
Vadim Zeitlin
674ac8b919
1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
...
2. wxWindow::Create() always takes a wxValidator parameter, even if
!wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
6f2a55e34a
1. more HP-UX warning fixes (almost done...)
...
2. added a macro WXUNUSED_UNLESS_DEBUG()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:42:32 +00:00
Vadim Zeitlin
5fc7ede910
wxRegion should work with wxCoord, not long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:16:57 +00:00
Robert Roebling
04165bec2c
Compilation fix,
...
wxGTK requires GTK 1.2.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:20:21 +00:00
Robert Roebling
db434467a1
New colour, font, theme and size code..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:02:27 +00:00
Robert Roebling
33720b2de5
Corrected spin control, which ignored hand typed text.
...
Corrceted GetBestSize() etc of static text (displayed
in tip dialog and elsewhere).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 11:42:49 +00:00
Robert Roebling
07f5b19a15
wxSpinCtrl no longer emits event when changed programmatically.
...
Some GUI thread things and tests,
Change for borders around cmposite controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 16:25:28 +00:00
Vadim Zeitlin
13111b2ac8
1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
...
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Vadim Zeitlin
9d9b77552e
1. wxCalendarCtrl
...
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00