Commit Graph

35639 Commits

Author SHA1 Message Date
Robert Roebling
6959763942 Implemented window coord mirroring for RTL. This
is only implemented for *setting* the coordinates
    which is enough for wxSizers and 99% or other
    dialogs to work.
  Also reversed the meaning of wxStaticText alignment
    in RTL mode. It is possible that later versions
    of GTK actually do that themselves. (?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 19:39:22 +00:00
Vadim Zeitlin
1d203ed837 ensure that -2 font size is readable, it could be too small after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 18:18:13 +00:00
Vadim Zeitlin
140316c278 small sample cleanup (formatting, use stock menu items)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 17:07:10 +00:00
Vadim Zeitlin
98ebf9194b ensure that IsDialogMessage() is not called in the situations when it may hang not only from the immediate parent of the control which has focus but also from its grandparents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:52:20 +00:00
Václav Slavík
fdc62f4462 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:11:27 +00:00
Václav Slavík
6ef4b814d2 fixed subcontrols refreshing in wxWindow::Refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:02:15 +00:00
Václav Slavík
2582bcdc9d make it possible to create wxWindowDC for a hidden window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:51:03 +00:00
Václav Slavík
9c72cf7619 added wxWindow::IsVisible() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:38:54 +00:00
Robert Roebling
2df5e0bff0 Also set GTK text direction to m_wxwindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:59:05 +00:00
Robert Roebling
a31bb94425 Remove direct access to GtlPizza's offset
variable. That way, we can change the
    underlying meaning for RTL windowing
    mirroring without wxWindow knowing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:52:56 +00:00
Vadim Zeitlin
ec9f5895ae blind compilation fix for daily builds error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:25:54 +00:00
Vadim Zeitlin
da1625342d compilation fix for !WX_PRECOMP (missing wx/app.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:23:44 +00:00
Mart Raudsepp
e892f2fd13 Restore ability to have a much lower runtime GTK version than build time - down to 2.4 (2.0 is still broken from gtk_combo_box_entry_new)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 04:23:02 +00:00
Vadim Zeitlin
aea95b1c3a removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Vadim Zeitlin
9d639ffa59 compilation fix after wxGUIAppTraits::GetToolkitVersion() introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:58:13 +00:00
Vadim Zeitlin
8444b6cb6b removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:20:37 +00:00
Vadim Zeitlin
cbd88f2225 compilation fixes after recent stock menu items changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:20:22 +00:00
Robin Dunn
57332a5a1d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:10:15 +00:00
Robin Dunn
203bfdca0c more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 22:57:42 +00:00
Robin Dunn
9209153753 mention Pulse mode on Guage, and native toolbar on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:58:12 +00:00
Robin Dunn
b9c5678801 Path fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:57:22 +00:00
Robin Dunn
0d2c9713ec reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:57:09 +00:00
Robin Dunn
ae5bc7f372 reSWIGtged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:55:17 +00:00
Robin Dunn
ce1245e1fa It's not in use yet, but add Kevin's docparser code so it doesn't get lost...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:42:51 +00:00
Robin Dunn
e78e8fdbfd Build the contents and index files for HtmlHelp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:41:51 +00:00
Robin Dunn
5a61da16c5 DetachRoot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:38:16 +00:00
Robin Dunn
79032d2bde Add AddStretchSpacer and friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:37:48 +00:00
Robin Dunn
e81851eb9c Pulse mode in gauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:36:27 +00:00
Robin Dunn
19b47f5b2c Show Pulse mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:18:41 +00:00
Robin Dunn
349ef0adf5 Compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:07:05 +00:00
Paul Cornett
d90e6104e9 remove unused GtkPizza members scroll_[xy]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:37:24 +00:00
Robin Dunn
d1a7e73ece Don't show AlphaDrawing for now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:14:43 +00:00
Robin Dunn
31e1bd370d Simplify use of MacIsWindowScrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:12:59 +00:00
Kevin Ollivier
ef78ec37f2 Mac(Carbon) impl of wxGauge::Pulse, also added sample code for Pulse to the widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:11:48 +00:00
Paul Cornett
73216ce6f0 include fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:00:18 +00:00
Vadim Zeitlin
1acca470df check encoding in EnumerateFacenames(); implemented EnumerateEncodings() for wxUSE_PANGO case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:41:17 +00:00
Vadim Zeitlin
d5a20ebb32 only return matching modes from GetModes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:34:32 +00:00
Paul Cornett
5ff14574fc some app.h cleanup: minimize includes, use static cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:29:19 +00:00
Vadim Zeitlin
916eecaad6 implement wxComboBox::SetEditable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 16:24:00 +00:00
Václav Slavík
24b800a957 added unary wxPoint::operator-
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 15:52:05 +00:00
Robert Roebling
ee4c13659b The patch was missing a header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:41:46 +00:00
Robert Roebling
297eb8e6d2 incomplete commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:13:08 +00:00
Robert Roebling
6a5c9b3ff7 Apply patch [ 1548750 ] wxVsnprintf() various fixes
Part II.
c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:11:21 +00:00
Robert Roebling
5cafd4bef6 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:02:37 +00:00
Robert Roebling
23ac76056f Applied doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:46:11 +00:00
Vadim Zeitlin
388a1f6624 define debugging log functions as (empty inline) wxLogNop() instead of nothing in the release builds, this ensures that we have the same code structure in debug/release builds and so there are no bugs when these functions are used inside if/else while also ensuring that even dumbest compilers do remove them completely in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:45:06 +00:00
Robert Roebling
fe8635a7e7 Applied wxGauge:Pulse() patch.
[ 1551409 ] Support for indeterminate mode gauges


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Vadim Zeitlin
9804c4d95c undid last 2 commits, there are many more cases like this so it's better to fix this problem in a different way in wx/log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:25:01 +00:00
Vadim Zeitlin
e6113e3a52 more warning fixes about empty if statement in helper classes in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:10:32 +00:00
Vadim Zeitlin
8b76325cdc fix warning about empty if statement in HDCClipper ctor in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 12:55:05 +00:00