Commit Graph

38284 Commits

Author SHA1 Message Date
Robin Dunn
5917d04127 Add ToggleWindowStyle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:40:05 +00:00
Robin Dunn
c8aaaf9e30 Add Get/SetLogicalFunction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:35:41 +00:00
Robin Dunn
f343983a32 Add 2.5 dirs to PREFIXES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:34:35 +00:00
Kevin Ollivier
ccb9a40777 Do not uninstall wxaddons module or files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:26:04 +00:00
Robin Dunn
53133108ac Document new location of the patched swig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:25:17 +00:00
Robin Dunn
6d14f6975e fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:24:17 +00:00
Kevin Ollivier
da97b2609e Mention the wxSystemOption for turning on the generic wxListCtrl on OS X in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 18:54:12 +00:00
Vadim Zeitlin
ba59de5d95 add test for wxLaunchDefaultBrowser, it makes sense to have it in this sample too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:53:32 +00:00
Vadim Zeitlin
7ea70037e0 unused parameter warning fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:41:40 +00:00
Vadim Zeitlin
d04cc1d5da quick fix for TRACE_DND being undefined for compilers without vararg macros support in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:11:37 +00:00
Vadim Zeitlin
a502b2841d fix a problem with (sometimes) editing an invalid item in EditLabel() (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:07:57 +00:00
Vadim Zeitlin
19def5e7e6 fix (harmless) assert in virtual list control under Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:05:29 +00:00
Vadim Zeitlin
d9bbb2d877 use wxMBConvUTF8(MAP_INVALID_UTF8_TO_OCTAL) for all access to MIME data files (extends fix of rev 1.77; replaces the change of rev 1.81); fixes spurious errors when reading KDE MIME files in Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:53:02 +00:00
Vadim Zeitlin
abc912df18 give the file name in the error message about failed Unicode conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:50:51 +00:00
Julian Smart
8cc5e8cff4 Avoid generating two events on selection (when MSWCommand returns false,
the default window procedure is called in window.cpp and this generates
a further event)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:33:51 +00:00
Vadim Zeitlin
cd8667eb80 removed wxGTK-specific 2 pixel border around the window which is the sole child of a wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 14:30:11 +00:00
Vadim Zeitlin
927637fdaf allow dynamically changing most of text control styles in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b removed empty and unused CalculateScrollbar() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
e23d401900 added documentation of return value of ToggleWindowStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:19:30 +00:00
Vadim Zeitlin
d63312a977 added a small helper ToggleWindowStyle() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
9ec927f89b ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
Vadim Zeitlin
ba4c4fc6b5 removed explicit initial size for BugsGridFrame, it's not needed as its size is set to fit to the grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:47:02 +00:00
Vadim Zeitlin
15f99569c1 removed unneeded SetMargins(0, 0) call (this is the default) in BugsGridFrame ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:44:20 +00:00
Vadim Zeitlin
39621ee0e7 added the missing parameter to SetScrollbars() call in AutoSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:43:43 +00:00
Vadim Zeitlin
ba2eff22a4 replaced wxLogDebug with wxLogTrace in wxExecute() to suppress annoying messages each time it is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:32:12 +00:00
Julian Smart
85d3d198c2 Use font encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:16:11 +00:00
Julian Smart
1dfeae4c13 An attempt at fixing the Unicode conversion errors when loading
configuration files - try ISO-8859-1 if Unicode fails.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:07:53 +00:00
Julian Smart
67339f7d9d Added SetEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 08:26:24 +00:00
Jouk Jansen
1d24c6a3a5 Committing in .
Update for (experimental) OpenVMS wxGTK2 compilation

 Modified Files:
 	wxWidgets/src/common/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 07:58:42 +00:00
Vadim Zeitlin
e4a84806c6 create mask from alpha channel if the bitmap has no mask, this is better than using grey as transparent colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 02:09:59 +00:00
Vadim Zeitlin
1c304f30b9 use Remove(-1) instead of looping over all images manually in RemoveAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 01:46:07 +00:00
Vadim Zeitlin
588f410058 moved assertdlg_gtk.[ch] to GTK_LOWLEVEL_SRC/HDR to fix wxUniv/GTK build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 01:14:25 +00:00
Michael Wetherell
90eaf43334 Check the size of the boolean type used by an external jpeg lib on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:59:47 +00:00
Michael Wetherell
0ce986140a Check for wxFS_READ in OpenFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:49:18 +00:00
Vadim Zeitlin
0c8433d097 fix for assert which happened if the checkbox was cleared in a control with wxDP_ALLOWNONE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:31:32 +00:00
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