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