Vadim Zeitlin
479c790cb7
must use PKG_PROG_PKG_CONFIG before PKG_CHECK_MODULES; fixes configure for Unicode wxX11 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:12:46 +00:00
Stefan Csomor
8946d7fd68
using graphics context for core graphics switch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:04:32 +00:00
Vadim Zeitlin
b1f3b29c42
split the incompatible changes section in silent changes and the others
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:02:39 +00:00
Vadim Zeitlin
b098b62129
extracted wxGtkString in a separate file, it's also needed by wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +00:00
Vadim Zeitlin
b886fae648
Main change is that we now close X11 display on program exit: as this couldn't
...
be done in wxApp dtor (too early), a special module had to be created for it
and module dependencies added for the other modules which have to be cleaned
up while the display is still open.
Also a few minor formatting changes and removed a couple of unused variables
from wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:39:53 +00:00
Julian Smart
36751d973e
Added style organiser dialog and list style editor page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:09:05 +00:00
Julian Smart
e472363403
Separated out list formatting into new menu.
...
Added use of style organiser dialog.
Demonstrated style organiser being used as Bullets & Numbers
dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:05:36 +00:00
Julian Smart
dadd4f5523
Added a list style editor page to the formatting dialog.
...
Added a style organiser dialog, which can be used to browse
for and apply styles and can be limited to show one of
the three style types, or all three.
Added a font name cache since it's an expensive operation
that's used frequently by the rich text dialogs.
Added ability to switch off tooltips for new dialogs
(off by default). Improved the previews. Pressing tab or shift-tab
at the start of a list item now demotes or promotes the item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:04:13 +00:00
Vadim Zeitlin
0c7e0a8771
added newline at end of file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 13:09:48 +00:00
Robert Roebling
d65fd4e93f
Made wxStreamBase::IsOk() virtual;
...
Overrride in file streams to test foe base class and
for correctly opened files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:30:59 +00:00
Vadim Zeitlin
522d32e508
fixed the problem in 2 last commits
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:12:40 +00:00
Robert Roebling
03b5e90b0e
Fix mem leak.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:08:29 +00:00
Włodzimierz Skiba
dc5a84857d
Rescale images automatically with informations about internal requirements (Jaakko Salli).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:06:00 +00:00
Vadim Zeitlin
e44d5a5892
fix memory leak in wxGetTempFileName(const wxString&, wxString&) overload; also define wxGetTempFileName(const wxString&, wxChar *) overload in terms of the other one and not vice versa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 11:58:48 +00:00
Mart Raudsepp
2649725398
Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in
...
applications as the only one).
Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including
defs.h because of defs.h including wxchar.h itself.
We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being
always included from defs.h (if we can rely on that, please change if appropriate)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 07:43:24 +00:00
Paul Cornett
45388803ec
fix memory leak in Freeze
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 02:53:54 +00:00
Kevin Ollivier
448f8f12b9
Several wxWebKitCtrl enhancements/fixes. Including:
...
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.
- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.
- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.
- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Kevin Ollivier
bdf895fdd9
Allow other classes to access the SetupMouseEvent function.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:22:11 +00:00
Robin Dunn
24f6c4e865
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:51:19 +00:00
Robin Dunn
72156afeb5
some changes to make epydoc happy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:50:01 +00:00
Robin Dunn
26e4b9d063
docstring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:49:22 +00:00
Robin Dunn
974a50f1bb
regen ReST docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:46:44 +00:00
Robin Dunn
7b61ea68e2
remove "pre"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:45:42 +00:00
Robin Dunn
77f62aa7b6
Patch #1579801 : wxBufferedDC shared buffer bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:36:36 +00:00
Robin Dunn
6231770f89
Patch from Andrea: fixes no page chang* events with mouse right click,
...
plus a couple of other minor issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:09:18 +00:00
Robert Roebling
88bbc3329b
Test for KDE and GNOME using session manager vendor.
...
Use it in mime types initialization.
Add wxUSE_DETECT_SM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Robert Roebling
0fb2e8796d
Support wxFULLSCREEN_NOSTATUSBAR
...
Correct Get/SetClientSize() accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:17:10 +00:00
Robert Roebling
3a8b3bd159
Support wxFULLSCREEN_NOMENUBAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:02:29 +00:00
Robert Roebling
40131743c6
Ref counting overview.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:24:55 +00:00
Robert Roebling
a91225b27b
[ 1578529 ] better docs for reference-counted objects
...
This already includes the change for wxBitmap, which
is not COW yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:23:42 +00:00
Robert Roebling
15d4b8cdb5
[ 1579280 ] small src/unix/mimetype.cpp optimizations
...
I'm not sure if this actually changes the assembly in
a smart compiler, but who knows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:19:22 +00:00
Robert Roebling
dcc36b34be
[ 1579793 ] numerous bug fixes when mask is used
...
Corrects PNG handling and wxImage::Paste()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:06:11 +00:00
Robin Dunn
17b5a3eccb
If an empty string is passed, remove the tooltip instead of setting it
...
to "".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:54:48 +00:00
Robin Dunn
122c2bae32
don't clear the tooltip unless there is one.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:41:50 +00:00
Paul Cornett
5f8047a69b
use generic wxAnimationCtrl in wxGTK-universal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:32:52 +00:00
Kevin Hock
e225fe17a8
Do not send a changed event if a button is clicked for down/up when the control is already at min/max and wrap is not specified. Fixes both wxSpinButton and wxSpinCtrl. Bug #1578523 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 00:06:55 +00:00
Robin Dunn
61b3549028
More updates from Andrea
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 22:41:17 +00:00
Robin Dunn
7753ca6bed
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 20:49:16 +00:00
Robin Dunn
d4ca60e8a6
Need to subtract the m_miniTitle to get client size, not add it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:51:16 +00:00
Robin Dunn
fd39f7a893
Add impl for IsFrozen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Robin Dunn
ba53bf083e
GetSpacer returns a copy, not a reference to the size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:59 +00:00
Robin Dunn
37840b8bc1
updates from Andrea, plus some fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:16 +00:00
Julian Smart
f6fc052ae5
SetSelection(wxNOT_FOUND) now works correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 18:21:05 +00:00
Julian Smart
f17e0ebd63
Fixed assert when moving out of a menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:18:57 +00:00
Julian Smart
daad5a23b7
Support wxDF_UNICODETEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:16:53 +00:00
Julian Smart
ffd73a2c76
Draw tool transparently if we have a mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 16:57:03 +00:00
Włodzimierz Skiba
1b88201ff5
Headers cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
082cfe55b9
Added various list commands to demonstrate new list features.
...
Now uses wxRichTextStyleListCtrl giving a choice of style types to display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:12:03 +00:00
Julian Smart
38f833b10c
Added list style to text attributes, independent from paragraph style
...
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Stefan Csomor
daca43d847
fixing coordinate conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 09:27:46 +00:00