Commit Graph

9191 Commits

Author SHA1 Message Date
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
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
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
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
Robert Roebling
a124f99a24 Apply patch [ 1554736 ] wxXmlDocument::DetachRoot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:35:32 +00:00
Robert Roebling
fa6a837300 Apply patch [ 1554746 ] wxXmlNode::InsertChild fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:32:10 +00:00
Paul Cornett
8a378a9e16 add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 04:53:02 +00:00
Paul Cornett
4bc4bae185 remove unneeded DoGetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:43:31 +00:00
Václav Slavík
716af436dc don't try to paint hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 17:39:27 +00:00
Vadim Zeitlin
801a54412a define WS_EX_LAYOUTRTL for older compilers/SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 10:32:23 +00:00
Robert Roebling
f6f1f4adbf Sadly, direct access to SetUpDC is required for the
native custom rendering of wxDataViewCells


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 09:45:10 +00:00
Włodzimierz Skiba
57bd4c6031 Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Paul Cornett
b5e31cc8e2 GtkOnSize parameters aren't useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:06:47 +00:00
Robert Roebling
64321998df Applied FRM's patch [ 1553958 ] Fix for invalid cast from
GtkFileChooserButton to GtkButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 13:24:08 +00:00
Václav Slavík
6a613ad625 don't treat DFB_TIMEOUT as error in WaitForEventWithTimeout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 10:43:59 +00:00
Robin Dunn
adfb405a9c Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 23:22:44 +00:00
Paul Cornett
53b6d7a298 Always use wxFULL_REPAINT_ON_RESIZE for generic status bar.
Remove undocumented generic status bar ctor/Create.
Bring status bar ctor/Create into sync with docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:36:22 +00:00
Robert Roebling
84d1cd430f Applied patch which allows you to detach a stream
from a wxFSFile. Patch 1190378


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:57:06 +00:00
Robert Roebling
5949d30725 Applied 1215477, fixing a crash by properly removing
a file system handler in a module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:49:42 +00:00
Robert Roebling
b7ea712cc2 Commit Carsten Fuchs' patch for separating wxGLCanvas
and wxGLContext on GTK and MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:31:20 +00:00
Václav Slavík
52c8d32a71 use C++ wrappers around DirectFB API for easier use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 09:40:31 +00:00
Vadim Zeitlin
21d124e03c pickers code cleanup (patch 1552220)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:02:27 +00:00
Vadim Zeitlin
345319d60c fixes to menu stock items support (patch 1547639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:00:55 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Václav Slavík
ca766534cf use macros to completely remove wxLogTrace, wxLogDebug etc. in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 14:21:08 +00:00
Vadim Zeitlin
90527a50d7 use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:56:56 +00:00
Włodzimierz Skiba
b137e49318 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:22:57 +00:00
Michael Wetherell
4107600f20 Missing headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:40:08 +00:00
Michael Wetherell
24aab8e81a Hacks for wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:36:47 +00:00
Václav Slavík
0a880a3181 cosmetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:16:46 +00:00
Vadim Zeitlin
978af86426 merge of RTL changes (with many modifications) from SOC2006_RTL branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 13:35:13 +00:00
Vadim Zeitlin
ca8d899fcb small cleanup, removed unused headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:12:24 +00:00
Vadim Zeitlin
e8cfff879e added wxSizer::Get/SetContainingWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:05:49 +00:00
Václav Slavík
7f5426f09c added alpha support to generic wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:14:29 +00:00
Václav Slavík
3d4424f702 reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS to fit standard terminal; use wxALPHA_OPAQUE instead of 255
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:12:36 +00:00
Václav Slavík
3b06df5a35 removed obsolete and incorrect comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 10:56:41 +00:00
Robert Roebling
118f5fbd06 Commit wxComboCtrl clipping patch from J. Salli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 13:21:29 +00:00
Robert Roebling
ee0a94cfc2 Commited FRM's stockitem patch (empty stock items).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
Robert Roebling
eae0338fcb Commited patch for wxSizer::Replace()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 11:48:49 +00:00
Robin Dunn
5b5d4ef2dd bump subrel number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:45:44 +00:00
Robert Roebling
ad7b3b7682 Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 12:37:25 +00:00
Vadim Zeitlin
8312c461b8 always let GtkTextView have mouse release events to avoid assertion failures in gtk_text_view_start_selection_drag()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:23:51 +00:00
Vadim Zeitlin
9768729112 added GTKProcessEvent() to allow controlling whether we leave or not events for the native widgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:20:05 +00:00
Vadim Zeitlin
2f2620215e call GTKUpdateCursor() from SetCursor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 21:44:22 +00:00
Robert Roebling
ec1e0c6634 Implement wxSetCusorEvent better than before.
This also makes wxAUI work nicely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 15:32:19 +00:00