Vadim Zeitlin
d294c9db88
nested iterator classes must be dll-exported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 01:01:50 +00:00
Vadim Zeitlin
b028252442
don't return true from wxRadioBox::AcceptsFocus() even when it's hidden/disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:43:11 +00:00
Włodzimierz Skiba
1ea9acd9aa
wxFrameNameStr was already delivered by #include one line earlier.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:51:07 +00:00
Włodzimierz Skiba
a9672e89d5
DMC bug workaround.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:39:52 +00:00
Vadim Zeitlin
986d27c395
make it possible to predefine __WXFUNCTION__ in user code to have a different behaviour (e.g. use __PRETTY_FUNCTION instead of __FUNCTION__ with gcc) if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:37:58 +00:00
Vadim Zeitlin
fa3bd1aaea
define __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which could result in conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:32:28 +00:00
Vadim Zeitlin
d4d8988c72
made wxList methods return compatibility_iterator instead of Node * to further reduce differences between wxUSE_STL==0 and 1 cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:14:28 +00:00
Włodzimierz Skiba
d17b1e7621
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:39:47 +00:00
Włodzimierz Skiba
e1204086ba
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 13:24:23 +00:00
Robert Roebling
3d9d7cc4f7
In the generic version of wxDataViewCtrl, all
...
cells are custom cells (nothing native).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:01:57 +00:00
Jouk Jansen
bbc8b0ee18
Committing in .
...
Updates to make OpenVMS happy
Modified Files:
wxWidgets/setup.h_vms wxWidgets/include/wx/defs.h
wxWidgets/src/gtk/choice.cpp wxWidgets/src/gtk/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 07:47:22 +00:00
Vadim Zeitlin
b503b4075c
fixed wxCHECK in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 01:11:52 +00:00
Vadim Zeitlin
acc476c530
fixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 17:00:16 +00:00
Vadim Zeitlin
3ec4a23f50
show the function in which the assert failure occured if the compiler supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:47:24 +00:00
Vadim Zeitlin
20a4311e7f
use new wxAPPLY_T macro instead of 3 identical __XDATE__/__XTIME__/__XFILE__ ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:43:46 +00:00
Vadim Zeitlin
dfa0b52f4a
show the function in which the assert failure occured if the compiler supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
497a2d6d54
don't evaluate assert expression unless the condition is false (patch 1450705)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:17:49 +00:00
Vadim Zeitlin
0cc70962a1
Made wxList::compatibility_iterator a class in wxUSE_STL == 0 case too instead
...
of a simple typedef to "Node *" to be able to initialize it with NULL in ctor
which makes the behaviour of the code with and without wxUSE_STL the same.
The price to pay is that the code like
wxList:compatibility_iterator ci;
ci = cond ? list->GetFirst() : wxList::compatibility_iterator();
doesn't compile any more and has to be replaced with (more clear anyhow)
wxList:compatibility_iterator ci;
if ( cond )
ci = list->GetFirst();
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:05:11 +00:00
Vadim Zeitlin
46cb4b3f8a
added wxGtkString::c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:31:35 +00:00
Vadim Zeitlin
5d9ef6deec
return NULL (and not invalid) iterator from compatibility_iterator::GetPrevious() when we're at the start of the list (see patch 1445506)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:17:31 +00:00
Vadim Zeitlin
b4affacc10
added assert to verify that operands are initialized in compatibility_iterator::operator==()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:14:19 +00:00
Vadim Zeitlin
0b6cf20588
reuse operator bool() check in compatibility_iterator::IndexOf() instead of rewriting it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:00:19 +00:00
Robert Roebling
4b3feaa75d
Added windowing and scrolling logic to generic
...
implementation of wxDataViewCtrl (it runs now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:30:06 +00:00
Vadim Zeitlin
da75a14e72
explain why do you need wxUSE_WXDIB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:24:47 +00:00
Vadim Zeitlin
50a9dd77f5
provide stubs for conversion to/from image functions even when wxUSE_WXDIB==0, this allows to not test for it in other places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:23:00 +00:00
Robert Roebling
9d14de69f4
Compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:41:41 +00:00
Robert Roebling
4ed7af081e
Added (yet unfunctional) skeleton files fir
...
generic implementation of wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:37:24 +00:00
Robin Dunn
10ae0adb58
Add DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:50:05 +00:00
Stefan Csomor
7358f9073d
intel pict fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 18:29:14 +00:00
Stefan Csomor
27ea6757f3
fix for sf bug 1448153: Widgets sample hangs on Japanese radio label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:26:59 +00:00
Robert Roebling
2b850ae1a5
Rearrange code to make adding wxMimeTypesManagerFactory
...
at runtim possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Robert Roebling
1d115baf4b
Added files for GnomeVFS backend (currently useful
...
for strictly nothing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:08:58 +00:00
Vadim Zeitlin
47f43b6bb5
need wxRect definition and not just declaration here (fixes wxMotif build without PCH)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:15:04 +00:00
Vadim Zeitlin
6c5d62917d
added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Julian Smart
c1dfa9eb8e
Mobile 5 Smartphone fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 11:03:26 +00:00
Włodzimierz Skiba
3ea19afd1f
Missing wxDisplay identifiers for DMC build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 10:45:11 +00:00
Vadim Zeitlin
ef1717a963
wxDisplay cleanup/rewrite:
...
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
single display-only wxDisplay implementation (but 2 versions of Mac
Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +00:00
Włodzimierz Skiba
05fd6a8b82
More size_t in interface.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 18:46:24 +00:00
Julian Smart
839f48f25d
Fix windows.h inclusion problem on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:30:08 +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
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
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
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
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
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
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
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
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
937f314d3f
native implementation of wxDirDialog for wxCocoa (patch 1403780)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:30:52 +00:00