Commit Graph

38986 Commits

Author SHA1 Message Date
Paul Cornett
be33a1c726 sizeof(char) is 1. By definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 03:41:37 +00:00
Vadim Zeitlin
f9efaa8b62 implement wxMutex::LockTimeout() using critical region API too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 23:21:22 +00:00
Václav Slavík
ec5006bdc6 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 18:44:19 +00:00
Paul Cornett
6e7b8bcbd7 add 4th parameter to AC_CHECK_HEADER to skip preprocessor check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 17:57:21 +00:00
Václav Slavík
e678981e9a Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:36:11 +00:00
Vadim Zeitlin
0a5af992db compilation fix for wxUSE_STL==1 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:19:45 +00:00
Václav Slavík
7890307b53 deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:03:41 +00:00
Vadim Zeitlin
1a74f5615b compilation fixes after wxGTK_CONV_BACK changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 00:43:16 +00:00
Roman Rolinsky
538a0c0de2 0.1.8-3
-------

Notebook page highlighting fix. Highlight resizes when the window
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 15:49:35 +00:00
Vadim Zeitlin
f89919f5e9 include wx/thread.h in debug build which is needed after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:57:42 +00:00
Vadim Zeitlin
a757b4a725 fix extra comma at the end of wxStretch enum introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:31:04 +00:00
Paul Cornett
ca88598dd1 remove unreachable declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:31:24 +00:00
Paul Cornett
df08c3b5a3 add HAVE_ROUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:29:36 +00:00
Paul Cornett
cc9ffc23f3 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:28:09 +00:00
Paul Cornett
6d020baf20 use full repaint style instead of size event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:27:29 +00:00
Paul Cornett
7450674943 non-debug build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:26:10 +00:00
Vadim Zeitlin
fd91cec141 use gettimeofday() instead of clock_gettime() as the latter lives in librt which we currently don't link with and it seems not to be worth to add another library just because of wxMutex::LockTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:46:02 +00:00
Vadim Zeitlin
39affc0451 made wxGetTimeOfDay() public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:44:16 +00:00
Vadim Zeitlin
0475aefcb4 removed WXWIN_COMPATIBILITY_24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:33:01 +00:00
Vadim Zeitlin
698dd55ced removed WXWIN_COMPATIBILITY_24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:24:59 +00:00
Vadim Zeitlin
8f98c051f9 fix infinite recursion typo in operator!=() (patch 1665591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:18:07 +00:00
Vadim Zeitlin
8d7bfa660d fix the bug which could have resulted in failing to read config file if a chunk boundary fell in a middle of a multibyte character (patch 1674488)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:15:48 +00:00
Vadim Zeitlin
cb5ec61f65 don't use font sizes less than 1 with Pango (remaining part of patch 1671684); refactor the font size setting code to eliminate duplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:44:54 +00:00
Vadim Zeitlin
3d63133a5e use facename in wxFontRefData::Init() in Unicode build (part of patch 1671684)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:40:38 +00:00
Vadim Zeitlin
696d13ee0e added wxMutex::LockTimeout() (modified patch 1671637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:22:11 +00:00
Vadim Zeitlin
4738d6746b update the value shown in the combobox itself correctly in SetValue() (patch 1669275; bug 1667563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:46:03 +00:00
Vadim Zeitlin
88f67c2242 test for special keys first, before testing for alphanumeric ones as even keys such as WXK_F2 can be recognized as alnum in some locales, in ToString() (modified patch 1669197; bug 1620758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:40:22 +00:00
Vadim Zeitlin
823b6635f6 avoid flicker when setting the text which is the same as the current status bar pane value (patch 1669140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:28:41 +00:00
Vadim Zeitlin
e8f6339b51 fix wrong assert in SetItemBitmap() (patch 1668449; bug 1667505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:24:27 +00:00
Vadim Zeitlin
28bf2f3c66 fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:18:40 +00:00
Vadim Zeitlin
886f61cacb fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:16 +00:00
Vadim Zeitlin
ccc8c01a11 don't delete m_pActiveChild twice in wxWINDOWCLOSEALL event handler (patch 1665395, bug 1661995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:59:11 +00:00
Vadim Zeitlin
f4322df68b no changes, just removed TABs/trailing spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:56:34 +00:00
Vadim Zeitlin
e4f9c52180 removed unused src/gtk/main.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:54:55 +00:00
Vadim Zeitlin
c8db4e1560 fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:43:30 +00:00
Vadim Zeitlin
d63c9ecf46 take images and margins into account when setting column width to wxLIST_AUTOSIZE_USEHEADER (patch 1664598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:30:14 +00:00
Vadim Zeitlin
936632d3b2 clip column image (and not only the text) to the column width (patch 1664588)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:26:54 +00:00
Vadim Zeitlin
85bf679acc fixed detection of number of processors under Linux 2.6 (replaces patch 1663444)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:23:47 +00:00
Vadim Zeitlin
c105dda081 native wxHyperlinkCtrl implementation for GTK+ 2.10+ (patch 1661851)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:12:47 +00:00
Vadim Zeitlin
a48b659563 add checks for GTK+ 2.10 (part of patch 1661851)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:09:57 +00:00
Vadim Zeitlin
2e91a01aea update m4 files to bakefile 0.2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:50:47 +00:00
Vadim Zeitlin
72a061ccd2 use critical section to protect global TablesInUse (patch 1660652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:28:05 +00:00
Vadim Zeitlin
63e0279662 add a note about changing selection background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:59:24 +00:00
Vadim Zeitlin
041254895c use wxRendererNative::DrawItemSelectionRect() to draw wxVListBox items background unless selection background colour is explicitly set (patch 1650804)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:58:18 +00:00
Vadim Zeitlin
c741d33feb fix warning about non-dllexport'ed base wxDataViewHeaderWindowBase class from MSVC in DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:43:47 +00:00
Vadim Zeitlin
a68962fc90 wxMSWGetColumnClicked must be dllexport'd to be used from another (adv) DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:40:48 +00:00
Václav Slavík
d8a4b666cf deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:01:52 +00:00
Václav Slavík
24ad931818 deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:05 +00:00
Vadim Zeitlin
359fb29e43 merge multiple lines into one as otherwise the display is corrupted/unreadable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:40:08 +00:00
Vadim Zeitlin
93daabe060 removed WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:23:13 +00:00