Commit Graph

32976 Commits

Author SHA1 Message Date
Mart Raudsepp
4b84311a44 Compile fix. Seems to work too, at quick glance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:05:25 +00:00
Julian Smart
2c3ebf8be5 Removed use of deprecated functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 08:50:46 +00:00
Julian Smart
b1c6a00e63 Fix compile problem with VS 2005
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 08:44:28 +00:00
Włodzimierz Skiba
e95c145cc8 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:49:43 +00:00
Mart Raudsepp
9d655692b9 g_value_set_string duplicates the string itself, so don't do it ourselves only to leak memory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:41:10 +00:00
Mart Raudsepp
35a489dd90 Introduce a convenience class for g_freeing a gchar* on scope exit automatically, as suggested by VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:25:32 +00:00
David Surovell
c18353e561 cleanup - fixed warnings, reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 06:22:36 +00:00
Mart Raudsepp
74af7bcf4f Don't return the return value of a void method in a void method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 03:42:26 +00:00
Mart Raudsepp
d394f0c93f ICCCM says that the TIMESTAMP atom is required, so provide it. This is patch 1424755 from Timothée Lecomte.
Additionally fix a memory leak from a gdk_atom_name.
(Forward port from 2.6 branch to both HEAD gtk sources)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 03:01:06 +00:00
Mart Raudsepp
cc6e44bf0b Don't leak a gchar* in wxDataFormat::GetId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 00:38:39 +00:00
Włodzimierz Skiba
36e14c2bc8 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 00:01:18 +00:00
Włodzimierz Skiba
c3be59bcdb wxTinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 23:27:59 +00:00
Włodzimierz Skiba
035b6a79d0 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 23:16:13 +00:00
David Surovell
4c286ef633 cleanup - expanded wxTimerBase::Init to assign all member vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 22:46:49 +00:00
Robin Dunn
62139e5a27 Can't use IsValidInsert from GtkAddHelper as it could cause a segfault in
GetCount if the widget is not fully created yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 22:00:17 +00:00
Robin Dunn
1dc9b42f4f Fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 20:28:07 +00:00
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Włodzimierz Skiba
afbe150a76 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:30:06 +00:00
Robin Dunn
77e79241e8 m_windowReserved was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 18:45:31 +00:00
Vadim Zeitlin
6021b8f80b we don't need reserved virtual functions on HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 16:04:33 +00:00
Vadim Zeitlin
5a63a0f10a fixed centering of a TLW on a non-TLW parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:59:32 +00:00
Vadim Zeitlin
3c81c9aafb added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:45:12 +00:00
Jouk Jansen
ad332e5bf3 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWidgets/src/x11/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 08:39:07 +00:00
Robin Dunn
1bd5559898 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:17:03 +00:00
Robin Dunn
554f62e979 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:06:32 +00:00
Robin Dunn
0085ce4937 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:18:43 +00:00
Robin Dunn
94b2c6e696 SWIG-1.3.29
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:15:20 +00:00
Robin Dunn
ace78e271b SWIG 1.3.29
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:06:46 +00:00
Robin Dunn
c099c54cba Silence some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:40:05 +00:00
Robin Dunn
5be7e07a3f Keep wxSTC_LEX_ASP and _PHP available for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:39:22 +00:00
Robin Dunn
a6cb8040a8 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:29:52 +00:00
Robin Dunn
369ac260a9 Sometimes we do need to allow recursion of callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:28:22 +00:00
Mart Raudsepp
41e9579283 OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes bug #1445485
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:36:44 +00:00
Włodzimierz Skiba
8e25c1981b wxComboBox with SmartphoneCE has different members due to differnt wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:35:05 +00:00
Mart Raudsepp
0902898a15 Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:24:53 +00:00
Robin Dunn
226de48a85 Dtor for wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 23:11:35 +00:00
Julian Smart
c6b81cebf1 If we processed a command event, return true, or we could end up processing
it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 15:11:14 +00:00
Włodzimierz Skiba
caf6e6dee8 TRUE/FALSE source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 10:04:15 +00:00
Włodzimierz Skiba
b7e37e558d Init() does not belong to public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:37:23 +00:00
Włodzimierz Skiba
61373fa8f3 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:21:30 +00:00
Włodzimierz Skiba
cfb6676306 Make wxListCtrl changes ported from 2.6 branch complete (fix for long list of errors at wxTinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:18:22 +00:00
Vadim Zeitlin
7891b4d450 don't send weird colours for different controls, this looks really bad under some platforms (such as Mac) and makes the text unreadable under the others; there is widgets sample now for testing whether the colour setting works interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:58:21 +00:00
Vadim Zeitlin
361484a8db create a non readonly combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:55:12 +00:00
Julian Smart
107ff6689a Added context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:54:13 +00:00
Vadim Zeitlin
7d90194ccb fixed event generation for wxComboBox to be consistent with the other platforms and also simplified the code by using the existing wxChoice logic instead of reimplementing it in a broken way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:53:27 +00:00
Vadim Zeitlin
c11f04122f fixed event generation for wxChoice: it now sends one and exactly one wxEVT_COMMAND_CHOICE_SELECTED irrespectively of how the item was chosen and only does it after the dropdown is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:20:16 +00:00
Vadim Zeitlin
d77d8c0719 don't send EVT_CHOICE events while the dropdown is opened for consistency with the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:43:27 +00:00
Vadim Zeitlin
bc50a2ae95 log wxChoice events in the same format as wxComboBox ones to make it simpler to compare them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:16:35 +00:00
Vadim Zeitlin
9ae1959972 use the sizer to layout the main window/panel (this allows to give more size to the log window by resizing the main frame while before it was pretty difficult to see anything in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 17:04:23 +00:00
Vadim Zeitlin
985f824c2b fixed printf format warnings for all platforms (previous fix for Darwin broke it for Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 16:51:43 +00:00