Václav Slavík
ab86c659ac
added alpha channel support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 19:36:37 +00:00
Robin Dunn
9f88452895
* Implemented BestSize cache
...
* Added calls to InvalidateBestSize where things affecting BestSize
are modified. There are probably several other places where this
still needs to be done...
* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
into the MinSize, (if any) and return the result.
* SetBestFittingSize will now only set the MinSize to the value that
was passed to it, without merging in the BestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +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
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
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
Vadim Zeitlin
6bb7cee4e9
fixes to radio button handling (patch 803360)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 19:43:47 +00:00
Robin Dunn
d2c0a964e7
Initialize default values for the tool button size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 01:44:09 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Mattia Barbon
98fc1d65f9
Always initialize variable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:33:56 +00:00
Mattia Barbon
222ed1d678
STL-ification patch for wxMSW and wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
Vadim Zeitlin
99e8cb505a
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned this...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 14:06:44 +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
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
Julian Smart
0b30bb0bda
Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
...
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Robert Roebling
288059b2b9
Corrected GTK2 creation of default font.
...
Removed ugly SET_STYLE_FONT code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:05 +00:00
Robert Roebling
cfcc393212
Font work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:40:45 +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
Vadim Zeitlin
6a1359c0a5
fix for creating radio items in a toolbar with non zero margin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:28:58 +00:00
Robin Dunn
248bcf0aa5
Allow wxGTK's wxToolbar to catch the standard window events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 22:58:06 +00:00
Robert Roebling
3fc6e5fa23
Added scrolling of widgets to GTK 2.0.
...
Removied obsolete ifdef from toolbar code.
Updated readme.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:48:14 +00:00
Robert Roebling
fab591c5cc
Lots of updates for Unicode and GTK 2.0 support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:59:20 +00:00
Vadim Zeitlin
38762f09cd
radio toolbar buttons finally work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 16:09:32 +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
Václav Slavík
3a72b4eff0
compilation fix for WXWIN_COMPATIBILITY_2_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:24 +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
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
Mattia Barbon
a8945eeff6
* Fixed wxToolbar95 and wxToolbarGTK to emit TOOL_ENTER event with id==-1 when the mouse
...
leaves a tool.
* Fixed wxToolbar95::FindToolForPosition to take into account dummy spacers inserted
together with a control for comctl32.dll versions < 4.71
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:38:01 +00:00
Vadim Zeitlin
4726948f8e
fix InsertSeparator() (patch 420987)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-03 14:41:24 +00:00
Robert Roebling
47c93b637e
Applied colour patch for better 8-bit support,
...
Improved handling of inserting controls into
a toolbar that don't have any def width. This
works for all controls but wxComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 12:27:26 +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
Julian Smart
12ed316d02
Added DECLARE/IMLEMENT_CLASS for wxToolBarBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 16:52:29 +00:00
Robert Roebling
9cc7121f68
Minor corrections to new theme code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 16:51:07 +00:00
Julian Smart
a2d93e735a
Added Set/GetThemeEnabled and used this for determining whether to paint a theme
...
background.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 13:15:37 +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
Ove Kaaven
2afa14f2c7
Use GTK_OBJECT_GET_CLASS macro.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:28:26 +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
3fa056ab78
Committing in .
...
VMS/GTK compile support
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/samples/minimal/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/common/resource.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/filedlg.cpp
wxWindows/src/gtk/fontdlg.cpp wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/unix/descrip.mms wxWindows/src/unix/fontenum.cpp
Added Files:
wxWindows/lib/vms_gtk.opt
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:00:27 +00:00
Robert Roebling
be25e48093
Added mono bitmap to image conversion.
...
Added wxImage::Replace() (replaces one colour with another).
Toolbar tips no longer eats ana new colour. This might prevent
the wrong colour behaviour reported from some 8-bit visuals.
Minor fixes and test code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
Vadim Zeitlin
9c2882d9e1
1. misc compilation (errors, warnings) fixes (from the build logs)
...
2. fixed a bug in wxGTK::wxGetResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Robert Roebling
6f67eafe67
Minor optical changes to toolbar and the help frame's
...
options dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 20:16:37 +00:00
Vadim Zeitlin
8a0681f933
merging in the toolbar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Robert Roebling
85ec2f2634
Some doc updates.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 17:02:50 +00:00
Robert Roebling
00655497da
Minor optical changes to toolbar and wxHelpFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:54:32 +00:00
Václav Slavík
2b8f5a2488
[gtk] fixed bug that caused segfaults in wxYield when wxToolBar has non-button control (m_item was no defined, rather then being set to NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:30:45 +00:00
Robert Roebling
97d7bfb8b4
Added wxEvtHandler::Disconect()
...
Added wxToolBar::DeleteTool()
Removed the WXWIN_COMP... defines from the common setup.h
Some tests,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:58:35 +00:00
Robert Roebling
bf9e3e7367
Added wxWakeUpIdle() to wxGTK,
...
Changed wxFindFile to detect hidden files (but not "." and ".." as before),
Added "show hidden files" to file dialog,
Added controls to wxToolBar,
doc view now uses pretty file dialogs as per MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 15:14:23 +00:00
Vadim Zeitlin
fd69e87d25
compilation fix (float => wxCoord)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:41:43 +00:00