Commit Graph

38919 Commits

Author SHA1 Message Date
Vadim Zeitlin
d38819f56f use virtual size for the size of the buffer when wxBUFFER_VIRTUAL_AREA style is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 08:54:13 +00:00
Paul Cornett
f08b7bec7f use AllocExclusive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 06:41:04 +00:00
Vadim Zeitlin
86033c4b6f handle mouse capture lost event in grid windows and reset the grid to normal state when it happens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 22:18:35 +00:00
Vadim Zeitlin
d71789cc5b remove inexistent wxGetMultipleChoice()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 21:11:13 +00:00
Vadim Zeitlin
9ac4391323 wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() directly instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 20:57:46 +00:00
Paul Cornett
ae765fde7b Don't assert on value change which shouldn't occur, but does. Closes bug 1672671
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-03 18:37:08 +00:00
Julian Smart
20c81bed84 Fixed premature exit of helpview sample and utility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 19:48:43 +00:00
Václav Slavík
e960c20e38 changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used with any string literals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 12:44:52 +00:00
Václav Slavík
1c8c91463f allow using both char* and wchar_t* in wxFileConfig and wxConfigBase, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 20:03:50 +00:00
Chris Elliott
914e69451f fix for MSVC see sf bug 1669419
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 08:48:11 +00:00
Vadim Zeitlin
8b31a4a3dc regenerated with theversion of bakefile which uses quotes around the directory name MAKEDIR which may contain spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 20:47:53 +00:00
Vadim Zeitlin
30083ad8e7 Support encodings in wxGTK_CONV_BACK() in the same way as we do it in
wxGTK_CONV(), i.e. return the string containing text in ISO-8859-1 encoding
and not UTF-8 if the controls font was set to have ISO-8859-1 encoding


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 15:41:56 +00:00
Vadim Zeitlin
c0da0dbabf removed stray return from SetFont()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 14:04:50 +00:00
Vadim Zeitlin
72be9a3a27 call gtk_paint_focus() with NORMAL state, not SELECTED, for unselected items as otherwise the focus rectangle is invisible with some themes (e.g. the Ubuntu default one) and it generally makes more sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 10:58:56 +00:00
Vadim Zeitlin
404ac4c67d interpret text invalid in the current encoding (typical for UTF-8 environments) as ISO8859-1, this is wrong but better than eating it completely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 09:53:15 +00:00
Jouk Jansen
eb41aed90a OpenVMS compile support update
Modified Files:
 	wxWidgets/src/common/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 08:23:09 +00:00
Vadim Zeitlin
9f7617cad6 recognize the encoding name without hyphens as synonym for the same name with hyphens when matching encoding names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 20:21:16 +00:00
Vadim Zeitlin
169c011352 added MSxxx and IBMxxx as synonyms for CPxxx code pages as some systems use these names (too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 19:39:03 +00:00
Václav Slavík
001ad728a4 changed wxArrayString::m_pItems from wxChar* to const wxChar*, the strings are not modified by the class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 15:19:16 +00:00
Kevin Hock
701bc6cab5 Build fix from FM (cascade from object.h changes making wxObjectRefData destructor private)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 02:49:41 +00:00
Robert Roebling
5d3f234b6b FM small patch for wxDataViewCtrl compilation
and warning fixes (dll linking problem).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 21:25:15 +00:00
Julian Smart
0871b34352 Fixed a control-arrow bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 10:30:40 +00:00
Roman Rolinsky
b03466749c 1.8-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:51 +00:00
Roman Rolinsky
c37cba8974 Fixed SetItemBold and editing 'growable' properties of
wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:07 +00:00
Robert Roebling
9861f022c3 [ 1665996 ] Fixes/extensions to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 07:57:46 +00:00
Julian Smart
4e1fd51de7 Fixed a confusion between window and client size that could lead to
gradually increasing window size on repeated layout, by duplicate
application of the client to window size conversion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 17:57:05 +00:00
Kevin Ollivier
5d2ad2f1db Fix for crash when an invalid font was being mistakenly identified as valid due to a signed check on an unsigned value, and also change the wxLogDebug statement, as I was getting crashes with %s and wxString.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 01:53:23 +00:00
Václav Slavík
7719a100f7 fixed BAKEFILE_AUTOCONF_INC_M4_VERSION changed by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:55:39 +00:00
Julian Smart
b8f434e731 Applied [ 1613294 ] wxGetMouseState/wxIsKeyDown bug
(troelsk - allow for left-handed mouse)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:07:26 +00:00
Václav Slavík
d7330233fd allow creating wxString from char*, assigning to it from char* and comparing with char* values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 20:05:43 +00:00
Václav Slavík
56b1244c21 fixed incorrectly reported WXWIN_COMPATIBILITY_2_6 value in summary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 19:40:24 +00:00
Julian Smart
4794d69c84 Fixed a problem with tabs when text spills over the end of the tab stops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 12:54:44 +00:00
Václav Slavík
b5c3f53e15 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 11:12:04 +00:00
Julian Smart
88bee7e621 Ignore Windows key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 07:57:54 +00:00
Václav Slavík
abb6edd197 added WXWIN_COMPATIBILITY_2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:02:14 +00:00
Julian Smart
3087eaea04 Layout correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:32:07 +00:00
Julian Smart
bdee9d109c Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +00:00
Robert Roebling
87f0efe2d7 Most of FM's wxDataViewCtrl patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Robert Roebling
a9fdf82418 Minor parts from FM's wxDataViewCtrl patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 11:35:58 +00:00
Robert Roebling
4a11340a1c [1660792 ] wxObject::Dec/IncRef and wxObjectDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 09:16:35 +00:00
Vadim Zeitlin
c71b212607 do adjust scrollbars in our EVT_SIZE handler now that we turn them off correctly (otherwise scrollbars wouldn't be shown correctly when the grid becomes too small to show its contents entirely after changes in rev 1.410)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 02:35:50 +00:00
Julian Smart
29392c81aa IsShown shouldn't cause empty sizers to not have their positions calculated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 22:12:58 +00:00
Vadim Zeitlin
b2df5ddf6a don't delete inexistent column indices in DeleteCols()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 17:41:58 +00:00
Vadim Zeitlin
97a8589874 suppress warning about casting -1 to guint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 14:47:37 +00:00
Julian Smart
b6a9c1fe89 Added support for hover bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 08:16:37 +00:00
Vadim Zeitlin
23a5584da6 update from Ivan Masar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 02:21:36 +00:00
Vadim Zeitlin
6e26499721 return size without decorations from size_request GTK callback in wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-15 12:38:55 +00:00
Vadim Zeitlin
f030b28c93 use AllocExclusive() instead of duplicating its code in wxFont-specific Unshare(); this fixes recreating the font whenever it is modified (even if it's not shared) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 20:35:24 +00:00
Vadim Zeitlin
261205e4e5 corrected StartDoc() return value testing broken in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 17:52:17 +00:00
Vadim Zeitlin
c5bc21bd1f fix warning about unused variable in release build by using standard wxLogLastError() if StartDoc() fails instead of duplicating it here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:13:06 +00:00