Commit Graph

2197 Commits

Author SHA1 Message Date
Václav Slavík
6ff734acec reverted DrawRotatedText change, it's broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 10:30:22 +00:00
Robert Roebling
c874715013 Start for Pango 1.6 based text rotation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:57:16 +00:00
Robert Roebling
b199de5962 Added support for most print page/selection/copies
etc. options in the native GNOME dialog.
  Added support for printing rotated text and alpha
   channel images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:56:02 +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
Vadim Zeitlin
d7c65934e6 removed unused variable to suppress warning (and put a TODO in place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:30:15 +00:00
Václav Slavík
5d7457f9ca fixed to work with themes that redefine icons (e.g. Fedora's Bluecurve)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 11:15:08 +00:00
Václav Slavík
1abedc328b fixed rendering of bitmaps with alpha channel under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:03:51 +00:00
Václav Slavík
c263eb0384 more wxPostEvent MT fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:44:26 +00:00
Václav Slavík
606ce80cc8 compilation fix for GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 23:57:19 +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
Robert Roebling
b438278443 Added printing images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 21:47:55 +00:00
Robert Roebling
e1bf3ad3e8 Applied patch to reorder includes. Not the most
important patch in the world, but still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 21:13:28 +00:00
Robert Roebling
fa499247cf Corrected typo in font scaling code.
More printing code for GNOME.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 21:21:53 +00:00
Robert Roebling
400be13742 Applied patch to show title bar changes
immidiately in wxMiniFrame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 19:47:41 +00:00
Robert Roebling
981a6af126 Some more printing code to clear most of
the printing sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 14:32:59 +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
f85b45fb12 Copyright notice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 13:50:09 +00:00
Václav Slavík
c4d25c01ae fixed wxTextCtrl::EmulateKeyPress to work in Unicode build of wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:19:39 +00:00
Ryan Norton
174f2229cd Use proper wxURI unescape instead of old way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 10:00:05 +00:00
Julian Smart
cf49c9551b GTK+1 doesn't have gtk_window_set_type_hint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 16:44:31 +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
Robin Dunn
1b10056f63 avoid crash if active_child_frame is not set yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 00:58:00 +00:00
Václav Slavík
37780c641b fixed wxFRAME_TOOL_WINDOW to use 'utility' type hint instead of not rendering any frame at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 22:45:32 +00:00
Kevin Hock
19722331f8 MutexGui calls in WakeUpIdle are not needed under GTK2, fixing the long-standing "random" lockups experienced when using wxPostEvent from a thread. Collaboration with RR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-25 03:24:42 +00:00
Václav Slavík
260a67b7aa fixing sizing bug inside wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 16:10:26 +00:00
Václav Slavík
b0021947ef added InvalidateBestSize calls when combobox's content changes; DoGetBestSize now accounts for the width returned by GTK+ too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 16:06:11 +00:00
Vadim Zeitlin
ab13b95e5c compilation fix after last checkin (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 10:30:20 +00:00
Vadim Zeitlin
e188df5dea decode URIs in wxFileDataObject::SetData(); fixes problem with filenames with spaces in their names (which were represented as )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:14:55 +00:00
Julian Smart
ea2d542c01 Worked around font setting problem for GTK+1 on some
distributions. This is a workaround for wxGrid only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 16:44:17 +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
Václav Slavík
b1ad1424b9 support alpha channel in menu items bitmaps, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 09:43:37 +00:00
Robert Roebling
bf9848e73d Took one part of the patch back again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:32:48 +00:00
Robert Roebling
12ff822199 Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:47:27 +00:00
Robert Roebling
f53df133a6 Applied (part of) small patch from Chris Bogolte which
corrects a test in the Blit code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:32:42 +00:00
Robert Roebling
c9433ea976 Fixed lost focus events in wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 09:58:46 +00:00
Vadim Zeitlin
a752b8c4e0 always let GTK process focus_out events itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 23:46:08 +00:00
Julian Smart
cc0c05cd9f gtk_frame_focus_out_callback can be called with g_activeFrame
null; so test for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 20:47:12 +00:00
Ryan Norton
645a8fabef patch from list to fix warning and get rid of unneccessary call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 14:10:06 +00:00
Vadim Zeitlin
8d6f95db28 mention that this file can be used under wx licence too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 22:58:17 +00:00
Robin Dunn
bf47e3986a Verified and applied [ 1042133 ] GTK2.0: DrawRotatedText dumb implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 17:05:30 +00:00
Robert Roebling
3c4e4af64e Make wxComboBox spit out a bit fewer surplis
events when holding down the mouse button.
 Enable key based navigation through notebook
   tabs as in the native control with Left and
   right keys. Support for vetoing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:11:18 +00:00
Robert Roebling
576f712776 Fixed missing focus problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 16:17:21 +00:00
Václav Slavík
a761df69a3 fixed menu destruction if it was removed from menubar with Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 21:00:45 +00:00
Václav Slavík
e25c7537ff fixed transiency when the parent is MDI child frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 19:38:32 +00:00
Robert Roebling
06fda9e808 Reworked TLW and app activation event code, also
moved it to toplevel.cpp where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 14:13:48 +00:00
Robin Dunn
147d666989 Fix for crash when the child has no menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 16:33:15 +00:00
Robin Dunn
1d451c5bd1 wxSystemSettings::GetMetric returns -1 if the metric is not supported
by the port.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:56:22 +00:00
Robin Dunn
c4dc4cdd5a Just return zero without failing for unknown metrics, like the other
ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 16:49:01 +00:00