Vadim Zeitlin
d15e689395
removed the workaround for our SetWindowStyleFlag() being called from base class Create(), not needed any more after change in rev 1.291 of src/common/wincmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:30:23 +00:00
Vadim Zeitlin
e96248c48e
don't use SetWindowStyleFlag() in wxWindowBase::CreateBase() but assign to m_windowStyle directly; this allows SetWindowStyleFlag() in the derived classes to change the styles of the control without worrying about whether it had been already created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:27:52 +00:00
Vadim Zeitlin
0ed3b81230
fixed long standing bug with Fit() still showing the scrollbars: the old code for rounding up the grid size to a multiple of scroll step was wrong as it did for the grid itself and not just the scrollable area (and also assorted off by 1 errors and a workaround for a bug in wxMSW SetClientSize() implementation whihc may sometimes leave space for unneeded scrollbar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:54:04 +00:00
Robert Roebling
913c846511
Missing bracket.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:50:09 +00:00
Robert Roebling
b4e802d28b
Move list of raw overviews under the categorized
...
list (until we find a way to suppress the list).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:26:53 +00:00
Vadim Zeitlin
f984d2afda
suppress warnings about double to short conversions (but maybe we should round the values instead of truncating them here?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:56:25 +00:00
Vadim Zeitlin
be74dc8800
don't call fputs() with NULL buffer, it crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:54:48 +00:00
Vadim Zeitlin
e94e2d73e1
added default value for GetLocalizedResourcesDir() category parameter, as in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Vadim Zeitlin
2f0b521ea6
added a dummy return to GetItemState() to suppress gcc warning (but shouldn't we assert in all these functions if neither generic nor native implementation is used instead?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:37:40 +00:00
Vadim Zeitlin
a855f8ccca
fixed gcc warning about size_t/src/common/dbgrid.cppi printf format spec mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:20:28 +00:00
Vadim Zeitlin
62710178a6
don't show wxOnAssert() frame neither in the assert dialog, it's not interesting as it's always the same
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:29:23 +00:00
Vadim Zeitlin
8829531cdb
don't show line numbers as 0 when they're not available, show empty string instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:27:15 +00:00
Vadim Zeitlin
364663aa72
replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Stefan Csomor
a54bae7af7
we must turn off AA for XOR etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:48:40 +00:00
Stefan Csomor
277ccdafe1
adding raster op hook to graphics context (10.4 only, partial XOR/INVERT support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:30:29 +00:00
Stefan Csomor
b64e704702
paper size, duplex support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:28:17 +00:00
Stefan Csomor
c7c6e54bae
missing reversed orientation assignments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:26:01 +00:00
Stefan Csomor
4280b8797f
adding raster op hook to graphics context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:23:42 +00:00
Stefan Csomor
e22cf4b310
adding raster op hook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Vadim Zeitlin
6fef2483d9
stop the rename timer when the current item changes (Tim Kosse)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 14:19:42 +00:00
Vadim Zeitlin
fcb29b2338
no changes, just de TABified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:59:40 +00:00
Vadim Zeitlin
a9796db88f
backported changes from gtk/window.cpp 1.679 and dnd.cpp 1.116 checking that the drag and drop is started from a mouse click handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:59:27 +00:00
Vadim Zeitlin
70cf18ef47
remove pointer to the changelog in the docs which isn't up to date
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:52:48 +00:00
Vadim Zeitlin
be16b85933
fix initial layout of the widgets pages: avoid calling Fit() on them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:43:44 +00:00
Vadim Zeitlin
70c536f394
added --disable-vararg_macros option to allow not using vararg macros even if they're supported (useful if the user code doesn't want to use C99 extensions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:41:06 +00:00
Julian Smart
33dddf589a
Text style fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 10:11:22 +00:00
Paul Cornett
559f60efa8
better fix for keeping m_pos in sync
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 05:13:00 +00:00
Paul Cornett
442a960c14
fix memory leak and performance problem in Freeze
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 04:09:53 +00:00
Vadim Zeitlin
0ca037d636
removed many redundant 'overview's; tried to make more clear what each overview covers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 22:47:45 +00:00
Vadim Zeitlin
7d2c9deba4
removed 2 more extra '{'s
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:35:55 +00:00
Vadim Zeitlin
e2622169f4
escape underscores to fix the docs build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:33:35 +00:00
Vadim Zeitlin
7975a361bb
remove extra '{' which broke docs compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:17:33 +00:00
Robert Roebling
a58e5dad46
Managed to trick LaTex into using the overviews
...
and using the nicer formating of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 17:14:53 +00:00
Vadim Zeitlin
cc4f194e48
added Get(MultiLine)TextEvent() overloads returning wxSize which are used by wxPackageManager (patch 1595123)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 14:11:15 +00:00
Vadim Zeitlin
1f640c45d4
more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:51:34 +00:00
Vadim Zeitlin
24bc71f48b
reset the old disabled image list even if there is no new one (bug 1604374)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:50:58 +00:00
Vadim Zeitlin
869c999938
SetFormat() exists in generic version only (bug 1605753)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:50:24 +00:00
Vadim Zeitlin
7c1bf4c171
escape '<' in strings with Pango markup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:49:49 +00:00
Robin Dunn
723282b61d
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 05:00:26 +00:00
Robin Dunn
cf0d4bfc63
Typo and whitespace tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:53:37 +00:00
Robin Dunn
327bf990ab
Implemented wxLocale::IsAvailable for unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:52:46 +00:00
Robin Dunn
13db99f1f5
Added some modules from Riaan Booysen:
...
* wx.lib.flagart: contains icons of the flags of many countries.
* wx.lib.art.img2pyartprov: makes images embedded in a python file
with img2py available via the wx.ArtProvider.
* wx.lib.langlistctrl: A wx.ListCtrl for selecting a language,
which uses the country flag icons.
* An I18N sample for the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:51:13 +00:00
Robin Dunn
d8dd53b239
Fix compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00
Robin Dunn
8d4b048e27
Ensure that the listctrl takes the focus on left-click
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:51:49 +00:00
Kevin Ollivier
bb29edfaa2
Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:31:25 +00:00
Kevin Ollivier
d10d4362bb
Native control on Mac draws its own arrows, so don't draw them ourselves in that case.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:01:22 +00:00
Robin Dunn
adf07e34d9
Fix DrawHeaderButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 16:07:30 +00:00
Jouk Jansen
98528e9b94
Committing in .
...
added some #ifdef __WXDEBUG__ in the proper places around
wxLogTrace(TRACE_DND... statements
Modified Files:
wxWidgets/src/gtk/dnd.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 14:38:39 +00:00
Julian Smart
7c081bd21c
Fix for newline breakage
...
Inserting text now retains style at current position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:52:31 +00:00
Václav Slavík
7bfe6e3091
destroy IDirectFBWindow in wxTLW dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:02:20 +00:00