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
Václav Slavík
76b204675b
support SetBackgroundMode and SetTextBackground with GTK+2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 17:30:00 +00:00
Vadim Zeitlin
6eb37239e0
use on gdk_draw_lines() call instead of multiple gdk_draw_line() ones (patch 717012)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 14:14:23 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Robert Roebling
6185050104
Minor corrections.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 11:20:45 +00:00
Robert Roebling
e4da1035e4
Now scaling doesn't scale GetTextExtent() anymore. This
...
make print previewing look fine for now. Next is actually
printing what you preview :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 21:04:10 +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
Julian Smart
85b7bb3557
Applied patch [ 673055 ] Text rendering in wxGTK 2.4.0 and GTK2 fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:36:04 +00:00
Robert Roebling
bbd006c0ce
Removed usage of GetInternalFont() from GTK 2.0. This
...
also removes any usage of GdkFont. I left the actual
deprecated method so that the change can be bckported
without binary incompatible changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:59:44 +00:00
Julian Smart
77416abdc5
Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:14:39 +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
Robert Roebling
9ac71bef07
Compile fix for prop.
...
Test change for dcclient.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 20:27:35 +00:00
Robert Roebling
fb3ed106d1
Compile fixes for ANSI mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:03:01 +00:00
Robert Roebling
6c2019b942
Minor correction to GetTextExtent.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:56:40 +00:00
Robert Roebling
48d011c896
Implemented GetTextExtent() for GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 17:23:20 +00:00
Julian Smart
a57a1fb7e0
Applied patch [ 588140 ] User Scaling of Rotated Text on wxGTK
...
The effect of wxDC::SetUserScale() on
wxDC::DrawRotatedText() is to scale the text **twice**.
The code is in src/gtk/dcclient.cpp
The first scaling operation occurs when choosing the
GTK font size (as happens for wxDC::DrawText()). The
rotated text is scaled a second time when blitting the
rotated text bitmap to the DC, in the functions
XLOG2DEV(x + dstX) and YLOG2DEV(y + dstY).
The supplied patch moves the rotated bitmap co-ords
(dstX, dstY) outside of the LOG2DEV functions.
bryan cole (bryancole)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:00:50 +00:00
Robert Roebling
46eed000d6
Further code for Pango fonts (work now) and
...
some code for Pango prining. Doesn't work..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 18:58:19 +00:00
Robert Roebling
db16cab461
Lots of work to set PangoFontDescription as the
...
native font info data. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 16:41:31 +00:00
Julian Smart
f6116855f0
Corrected my wrong application of patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 19:08:39 +00:00
Julian Smart
696f36b70d
Applied patch from Mark Armstrong <marka@availsolutions.com>
...
Allows GC pool to grow dynamically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:05:18 +00:00
Julian Smart
4855a4773e
textctrl.cpp: Removed assert from CanRedo/CanUndo since the best behaviour is
...
to return FALSE (Redo/Undo functions are unimplemented)
treectrlg.cpp: in InsertItem, allow previous item to be null in order
to insert at first position of possibly-empty child list
dcclient.cpp: allow setting of null font (common espec. on Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 16:54:32 +00:00
Vadim Zeitlin
f60e7fdddb
dumb fix for wxDC::Clear() crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:52:43 +00:00
Robert Roebling
f90566f5c3
Bunch of GTK theme changes.
...
Make wxStatusBar use themes.
SetStatusText() now uses Refresh() since I don't
know why it shouldn't.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 16:43:15 +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
Václav Slavík
06cf7c08f2
forgot to check-in wxGTK wxDC changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 22:56:14 +00:00
Vadim Zeitlin
07d2031dde
temporary compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:43:59 +00:00
Vadim Zeitlin
c8dbe0aee2
compilation fix for !WXWIN_COMPATIBILITY_2_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 18:11:46 +00:00
Julian Smart
b1699cd397
Applied FloodFill patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:40:42 +00:00
Robert Roebling
8cce894070
Preventing bitmap crash differently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:23:54 +00:00
Robert Roebling
c7f6246740
Disabled masked bitmaps under GTK 2.0 until I know
...
why they crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:43:30 +00:00
Václav Slavík
368d59f0d8
don't use deprecated wxImage methods inside wxWin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +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
3cd0b8c5b5
wxX11:
...
Updated wxColour for handling Colormaps and ref couting.
Updated wxClientDC et al. for conforming to wxGTK. Many
tricky parts, particularly the bitmap drawing and
blitting is still missing.
Any sample crashes now for some reason with an X error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Robin Dunn
9e78f901dc
Shouldn't call SetFont(wxNullFont) any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 01:09:47 +00:00
Robert Roebling
06201c35d7
wxDC::Blit(): the source coordinates are logical coordinates
...
of the source DC now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 17:58:36 +00:00
Vadim Zeitlin
6a41b213d2
don't allow setting an invalid font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:29:33 +00:00
Vadim Zeitlin
2c37aade57
fixed nice bug in wxGTK which always draw the text with the same foreground colour as background one in wxSOLID mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 17:41:51 +00:00
Vadim Zeitlin
71ec83d2fd
don't crash when invalid colour is set as fg/bg colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 13:30:16 +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
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
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
Robin Dunn
c2fa61e833
Changed wxRootWindow from a global to a staic variable with an
...
accessor function that initializes if on first use. This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:55:28 +00:00
Vadim Zeitlin
4485629732
fixed DoDrawEllipse() bbox calculation (patch 415116)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 22:07:42 +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
Julian Smart
90fae67de9
Further __WXGTK20__ fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-13 15:51:11 +00:00
Julian Smart
f9862abdc9
Tried to fix GTK+ 2.0 compilos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-13 12:10:54 +00:00
Julian Smart
7a5e62674f
Fixed some warnings (don't know why dialoged Makefile is being committed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 14:23:44 +00:00
Vadim Zeitlin
ce83033f35
wxDC scaling fix patch (Derry Bryson)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 15:57:09 +00:00
Robert Roebling
0a07a7d852
Added wxCommandEvent::IsSeection for listbox,
...
Applied patch for wxListBox::Set when sorting
Added new value rounding code (corrected for
negative values) to scrollbar and slider
Added ...TEXT_CHANGED event to wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 10:02:47 +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