Vadim Zeitlin
82c23bb595
removed TABs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:52:17 +00:00
Vadim Zeitlin
1ec5cbf3de
removed wxLog::HasPendingMessages() (it can't be made to work correctly with wxLogChain); don't send the messages going to a log file to debug output under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:47:14 +00:00
Vadim Zeitlin
6dd16e4f26
removed style parameter from MSWCreate(), it is unneeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:27:17 +00:00
Vadim Zeitlin
29020b9048
use MSWCreateControl() instead of duplicating its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:24:44 +00:00
Vadim Zeitlin
278c927dd9
removed style parameter from MSWCreateToolbar(), it is unneeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:23:49 +00:00
Vadim Zeitlin
79f306d721
removed unneeded code which was inside #if 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:33:11 +00:00
Vadim Zeitlin
381adb7449
#undef LoadBitmap() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:27:28 +00:00
Vadim Zeitlin
90b1d65f2f
define true/false if the compiler doesn't have them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 22:29:59 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Václav Slavík
ddbfcced85
removed wxTLW cruft now that all ports have it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:03:56 +00:00
Julian Smart
5283098e13
Applied patch [ 662321 ] Port of wxWindows to Wine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +00:00
Ron Lee
12a3f2275c
Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
...
Made wxSizer child list typesafe. I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..
Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.
Added {G,S}etSpacer consistent with the accessors for windows/sizers.
Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them. Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.
s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}
Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.
removed pointless private scoping around DECLARE_CLASS macros.
Replace 0's I added previously with NULL -- not like that will end the
email thread either..
Added Add( wxSizerItem * ) & co. There are probably a couple of other
places we can usefully do something like this too. Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.
Updated wxSizer docs some more, they are still incomplete but getting
better.
wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode. There may be a few left for other ports.
Fixed a couple of other random compile warnings along the way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
5e2411ab49
fixed the return type of LoadIcon()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:46:53 +00:00
Mattia Barbon
0de6dfa701
Implemented wxToplevelWindowMotif. (forgot to commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 20:54:54 +00:00
David Webster
57ff8a875b
no message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:42:48 +00:00
Mattia Barbon
798a4529fe
Implemented wxToplevelWindowMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Vadim Zeitlin
8b39c006d8
#undef LoadIcon() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:11:24 +00:00
Václav Slavík
8166ab4343
added more robust wxTLW::ShowFullScreen implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:34:34 +00:00
Václav Slavík
7071c92817
gcc has __attribute__((deprecated)) since version 3.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 13:29:36 +00:00
Mattia Barbon
e9e4acc519
Remove #ifdef __WXSTUBS__ from headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Ron Lee
6c99908c51
The exact version it was included doesn't appear to be documented
...
anywhere, but __attribute__ ((deprecated)) is empirically not
supported by gcc-2.95.4. Best guess so far is 3.0 or 3.1 so I've
erred on the side of the former for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 20:52:10 +00:00
Julian Smart
c3a6a2bc10
Only enable tooltips on WIN32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 13:40:43 +00:00
Julian Smart
c8f9a56b7c
wxUSE_TOOLTIPs => 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:53:33 +00:00
Julian Smart
d4e5272b3a
Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Vadim Zeitlin
478d4ab7cf
IsStandard() shouldn't return TRUE for formats >= wxDF_PRIVATE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 01:04:16 +00:00
Vadim Zeitlin
3e6562c110
argh, erased one extra line accidentally in the last commit -- restored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:59:09 +00:00
Vadim Zeitlin
59018c74fe
wx(Individual)LayoutConstraints may be copied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:55:28 +00:00
Vadim Zeitlin
00e7a427a0
compilation fixes after applying DECLARE_NO_COPY_CLASS() patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:46:08 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
0becd47010
support for using DIBs for wxBitmap implementation (patch 649866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:28:56 +00:00
Václav Slavík
c75274f93c
added wxDEPRECATED
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:52:47 +00:00
Václav Slavík
b254d1fe03
mark wxImage's wxBitmap functions as deprecated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:49:50 +00:00
Vadim Zeitlin
93401be962
added operator==() and !=() for wxDateSpan
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:07:51 +00:00
Vadim Zeitlin
6770762dd3
set wxListItem mask automatically to the correct value when a SetXXX() method is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:59:40 +00:00
Vadim Zeitlin
a562f4fbde
removed a couple of obsolete functions from wxDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:39:32 +00:00
Vadim Zeitlin
9112af3fd1
fix for HAVE_EXPLICIT for VC++ 6.0 (closes bug 651314)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:58:53 +00:00
Robin Dunn
65ca8c0b79
Changed wxLOG_Max to be a smaller (but still large) value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:50:02 +00:00
Vadim Zeitlin
a8dade3e27
added IsEmpty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:41 +00:00
Robin Dunn
edc738528a
Added wxLog::Get/SetLogLevel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:16:07 +00:00
Ron Lee
96fdbb60f1
Ok, so we don't need the extra bool at all, we can just zero the sizer
...
pointer in wxSizerItem. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 15:26:47 +00:00
Ron Lee
00976fe56b
Add wxSizer::Detach so we can detach child sizers without deletion.
...
Updated wxSizer docs for this and a couple of other missing/outdated
things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +00:00
Mattia Barbon
e13f128877
Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
...
without requiring setup.h modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:37:10 +00:00
Ron Lee
a8853c78ed
Oops, don't cut and paste between ports, and do test compile both states
...
of a macro guard...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 15:45:35 +00:00
Ron Lee
99006e446e
Added wxTreeCtrl::GetItemParent to deprecate GetParent.
...
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.
Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.
Updated docs to suit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Vadim Zeitlin
01a4679360
fixed wxALL_FILES definition in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 01:38:49 +00:00
Julian Smart
317246dfcb
Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:59:35 +00:00
Julian Smart
f9eee2db81
Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code
...
for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:52:14 +00:00
Mattia Barbon
99ab3e3f56
Use wxClientDataDictionary for client data.
...
Factored out common code into wxSizeKeeper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:41:42 +00:00
Vadim Zeitlin
b74cce40fd
handle accel keys for owner drawn menu items (based on the patch 657105)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 15:01:21 +00:00
Vadim Zeitlin
46a5e01e86
use SS_CENTERIMAGE to prevent wxStaticBitmap from stretching its bitmap; also a face lift for control creation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:35:18 +00:00
Václav Slavík
5dac8a3b0e
fixed 2 encoding handling bugs in XRC/wxrcedit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:35:13 +00:00
Václav Slavík
437bd21582
WX_XMLRES_CURRENT_VERSION_STRING wasn't Unicode safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:21:23 +00:00
Julian Smart
d863ed8333
Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Julian Smart
cd501207cf
Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:02:24 +00:00
Robin Dunn
4a69b0600a
Added missing #if wxUSE_WAVE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Robin Dunn
b829bf55a0
Give wxSafeYield an onlyIfNeeded parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:58:36 +00:00
Julian Smart
1bd71df911
Fixed missing checkbox alignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
7d1dcec23a
Applied [ 652962 ] wxProgressDialog::Show(FALSE) bug
...
This fixes the problem where the application windows
were not being enabled prior to the progress dialog
being hidden in the situation where wxPD_AUTO_HIDE
was not used or was used but the end count was never
reached. This causes random applications to be
activated and brought to the front on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:57:48 +00:00
Julian Smart
ea5ef76f07
Applied patch [ 652894 ] Checklistbox doesn't need owner draw
...
Updated wxUniv readme about setup[0].h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
62e819ee45
Removed redundant wxUniv setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:29:03 +00:00
Julian Smart
aab49a0b6a
Applied patch [ 654023 ] Enables HtmlHelp (native)
...
Also fixed the bad event table in helpfrm.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:22:08 +00:00
Julian Smart
b657b4c986
Added missing SetOrientation accessor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 09:29:02 +00:00
Mattia Barbon
c17ba76f38
Unicode compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:28:26 +00:00
Chris Elliott
099d4217df
fix for wxUniversal on win32 platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:10:23 +00:00
Julian Smart
fbb1226068
Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
...
This patch implements a missing member in the generic
version of the wxTreeCtrl. The GetEditControl member is
currently not implemented in the generic tree control
used by wxGTK. This patch implements the feature by
1. adding a pointer to the wxTextTreeControl as a
member (m_textCtrl) of the wxGenericTreeCtrl class
2. making sure pointer was initialized to 0
3. using the member variable instead of the stack
variable in the wxGenericTreeCtrl::Edit member
4. making sure the new wxGenericTreeCtrl class
member is set to 0 when the control is set up for
deletion in Finish by calling a new protected member
(ResetTextControl) of the wxGenericTreeCtrl class.
These modification were discussed on the wx-dev list
under the "wxGTK - wxTreeCtrl::GetEditControl status?"
subject.
I have tested, but I certainly welcome comments and
further testing.
Pete Stieber
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 09:08:46 +00:00
Julian Smart
dda4f6c089
Applied patch [ 651640 ] Toolbar sizing fix
...
This patch fixes the problem discussed on wx-dev
mailing list. (Message title "wxUniversal: How is the
parent notified when a child changes its size")
In short:
- This patch makes sure the toolbar notifies the parent of
any size change, this will give the parent the opportunity
to resize the frame client size and to make sure the
toolbar is in the right place.
Hans Van Leemputten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:41:31 +00:00
Julian Smart
368c9c6d84
Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 12:13:25 +00:00
Vadim Zeitlin
07243717e2
tried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 00:43:28 +00:00
Václav Slavík
f3d3a0e751
forgot to add wxHtmlHelpController::AddBook(wxFileName) to the headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:05:56 +00:00
Mattia Barbon
2d6c58d653
The size_type typedef must be public.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:08:12 +00:00
Julian Smart
3434b611aa
Reverted the _n__ fix for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
1e702ab351
The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Julian Smart
73145b0ed1
Applied patches by Scott Pleiter:
...
[ 643866 ] small wxGrid API changes
adds GetValue to the gridcelleditors to facilitate
querying values from the editors, also changes several
methods to virtuals to simplify inheritance.
[ 643867 ] wxGrid cell LNF & behaviour patch
Enables the grid to render its cells grey when the grid
control is disabled. Also fixes several problems when
making the gridcelleditors visible. Improves the layout
of multi-line row/column labels. Changes the CellEditor
show from a MOUSE_DOWN to a MOUSE_UP, this
stops the editor starting when creating a selection
beginging in the currently selected cell.
[ 643868 ] wxGrid rendering tweaks, improves look.
Draw the row/column using system colours. Change the
default wxGrid settings to have a more neutral starting
point - grey lines, non-bold label font, black/white
selection etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:14:04 +00:00
Julian Smart
552a0ebdb2
Small WinCE mods from Marco
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:01:50 +00:00
Julian Smart
df41317113
Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
...
In bug 611264 I reported that typing a filename into a
multiple selection file dialog failed. The file
returned was "..".
I discovered that this was because the previous
directory folder came up automatically selected when
the dialog was created. Then, I discovered a related
bug. If any file or folder was selected, then that was
the file which was returned regardless of what was
typed in.
To fix the problem I added an EVT_TEXT handler which
deselects everything that is selected when the user
types. The handler does not deselect anything unless
the user actually types something.
This patch implements the fix.
John Skiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
Julian Smart
1d30a0a132
Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
...
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.
Scott Pleiter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Julian Smart
5c6bd4a957
Added missing AddBook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:15:22 +00:00
Václav Slavík
9548c49a6a
modifications to URL<->filename conversion: take wxFileName, rename
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:28:12 +00:00
Mattia Barbon
ec75d791f0
Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
...
handling, implemented wxControlWIthItems' methods correctly, fixed a
couple of other bugs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:48:05 +00:00
Mattia Barbon
21b273736b
Added wxClientDataDictionary, used (in wxMotif ATM) to maintain the
...
association between wxControlWithItems' items and their client data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:43:45 +00:00
Mattia Barbon
5fd588d229
Replaced int with size_t where appropriate, added WXDLLEXPORT, corrected
...
a bug in RemoveAt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:38:46 +00:00
Roger Gammans
f24badde9a
new member functio of wxDbColInfo to allow two step creation , to be
...
descibed in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:04:36 +00:00
Vadim Zeitlin
53c9228ead
always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 23:58:13 +00:00
Robert Roebling
0e0126c220
Various compile fixes for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:41:13 +00:00
Julian Smart
1b6f93fcfe
Corrected line endings, deps now relative
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:31:02 +00:00
Robert Roebling
158b668823
Platform define for wxWinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:36:03 +00:00
Vadim Zeitlin
dac7d53a83
added semicolons after HASH_MAP macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:28:02 +00:00
Vadim Zeitlin
d86939c4c9
removed trailing semicolons at the end of HASH_MAP macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:30:47 +00:00
Julian Smart
409e38cd65
Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 22:49:58 +00:00
Vadim Zeitlin
61ecf6d34f
fix typo in drawing slider ticks; added assert to check for it (slightly modified patch 646256)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:02:50 +00:00
Julian Smart
1a4fe894fe
Added Marco's first WinCE files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 21:18:30 +00:00
Julian Smart
c31752dadf
Updated version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
01cb1c2617
added ctor taking wxFontFlags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 23:58:52 +00:00
David Webster
923b48fc63
virtual function hiding problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:54:25 +00:00
Václav Slavík
799cea0031
fixed two-step creation of wxCheckListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:07:32 +00:00
David Webster
92ac4cdc8c
Make OS/2 use the generic MDI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:18:59 +00:00
Vadim Zeitlin
2499871095
recreate the toolbar entirely when its text/icons style changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:36:18 +00:00
David Webster
b7282ad267
TRUE not true; FALSE not false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:09:52 +00:00
Václav Slavík
4356ee76a5
another fix for wxSnprintf_
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 23:22:30 +00:00
Robert Roebling
47dc9f7871
Further backward comp. changes for printing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:00:45 +00:00
Mattia Barbon
79668caec9
Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
...
behave like other vswprintf; under Win32 you really want _vsnwprintf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Julian Smart
fe5de1ea10
Applied patch [ 608370 ] fix for static text sizing behaviour
...
wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.
I have tested on AIX 4.3 which is Motif 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:17:12 +00:00
Vadim Zeitlin
307b0b97ee
undid previous commit, the person who reported it retracted his claim
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:15:51 +00:00
Vadim Zeitlin
8a646b6b9f
include stddef.h to get ptrdiff_t decl (IRIX compilation problem)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:59:04 +00:00
Vadim Zeitlin
58071ea008
fix for cygwin warning in winsock.h about sys/types.h from Dimitri
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:55 +00:00
Vadim Zeitlin
66bd58e8a6
gtk2 Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:29:22 +00:00
Robert Roebling
009a066588
Readded deprec. constructor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:03:29 +00:00
Julian Smart
6886fcfafe
Applied [ 585322 ] motif border style fix for statictext
...
Applied fix to broken wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:25:00 +00:00
Robin Dunn
f114b8580b
Update to Scintilla 1.48
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Vadim Zeitlin
6ba7c06eee
declare wxEntry() as taking char **Argv, not char *argv[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 17:35:07 +00:00
Vadim Zeitlin
66ee25523a
fixed ATTRIBUTE_PRINTFs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 12:55:25 +00:00
Vadim Zeitlin
69429a166f
compilation fix for cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:54:47 +00:00
David Webster
db16e5c3aa
Bitmap button updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 03:08:12 +00:00
Vadim Zeitlin
cabf185cd2
define HAVE_EXPLICIT for BC++ >= 0x520
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:55:37 +00:00
Julian Smart
eaeeb91eb6
Added LV_ITEMA and used a #define for LV_ITEM to
...
avoid mysterious compilo under Mingw32 2.95.2
Added #defines for SHGetFileInfo for Mingw32 2.95.2
in volume.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:28:15 +00:00
Vadim Zeitlin
57e6713594
char -> wxChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:48 +00:00
Vadim Zeitlin
7e92d86d78
don't #define wxStrtok() which takes 3 arguments as wcstok() which takes only 2, this can't compile in Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:47:56 +00:00
Vadim Zeitlin
14f8fa9d7f
added wxLocale::GetLanguageInfo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 22:53:04 +00:00
Stefan Neis
a66a391e70
Changed second parameter of Refresh to "const wxRect*".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:09:55 +00:00
Vadim Zeitlin
9cedab372e
made SetDirectory() work, minor code cleanup (much is left to do)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:45 +00:00
Stefan Neis
aa5b885706
Commited John Labenski's patch giving access to the low level selection
...
representation (Patch 579754).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:58:25 +00:00
Gilles Depeyrot
ab7ce33c56
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
Robin Dunn
a834585d74
Updated to Scintilla from 1.45 to 1.47
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Julian Smart
dd23c25cde
Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
...
Benjamin I. Williams
Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.
This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).
This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.
The patch is not very invasive, and is much smaller
than I had expected.
Please see the relevent discussion on the wx-dev list
for more details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:50:41 +00:00
Robin Dunn
db54b04615
Added some accessors for wxEffects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +00:00
Julian Smart
e015d1f7da
Applied patch [ 603858 ] wxTextCtrl text alignment patch
...
Benjamin I. Williams
This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.
At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.
As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.
While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!
This patch also updates the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Julian Smart
2385ec429a
Added #include <ctype.h> since it seems to have
...
gone missing from this file for non-Unicode
cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 14:56:34 +00:00
Stefan Csomor
1b2a04da9a
corrected code for doubles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:42:16 +00:00
Václav Slavík
c601df457c
compilation fix for wxUSE_WCHAR_T=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:17:09 +00:00
Mattia Barbon
b8ddac49a3
Missing #include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 16:42:53 +00:00
Vadim Zeitlin
a8ddb18623
should fix Unicode build for BC++ 5.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:06:46 +00:00
Vadim Zeitlin
8161b5b9f0
fix wxCheckListBox which was completely broken by the Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:45:39 +00:00
Vadim Zeitlin
390015c0ee
generic status bar now:
...
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:16:46 +00:00
Chris Elliott
333e110dab
move code from .h to .cpp to prevent Borland warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 12:24:45 +00:00
Vadim Zeitlin
a42de1303a
fix wxBase apps compilation after ProcessIdle() change from the patch 588734
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:45:06 +00:00
Ron Lee
0e080be64b
Added (and documented) GetTraceMasks so userspace can probe the currently
...
allowed masks. IMO its omission is a bug and it's non-threatening to
the freeze, so..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 09:35:13 +00:00
David Webster
f5ea767eb8
More OS/2 update to fix some owner drawn things
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 22:26:53 +00:00
Julian Smart
d38e8d5f34
Changed char* to wxChar*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 11:22:56 +00:00
David Webster
1de4baa31f
Notebook, Listbox, and Checklst updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:47:39 +00:00
Gilles Depeyrot
1bfec677b1
avoid warning for duplicate defined wxEntry when compiling with the Apple
...
Developer Tools (already defined in common include)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85
use "..." for wx includes instead of <...>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
7b108a5e8c
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:15:40 +00:00
Vadim Zeitlin
59571fc076
include the header needed to compile this file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 18:10:39 +00:00
Vadim Zeitlin
7ccb2521a6
updated the comment about the flags meaning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:18:25 +00:00
Julian Smart
b814b81248
Committed a couple of IPC changes I forgot to do
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:30:52 +00:00
Vadim Zeitlin
a543e3ce7e
choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:44:24 +00:00
Vadim Zeitlin
ae3047441e
added a few WXDLLEXPORTS, corrected/expanded comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:32:30 +00:00
Gilles Depeyrot
a811affe70
added wxSpinCtrl::SetSelection method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Vadim Zeitlin
14bc59a252
another part of SetSelection() change I forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:24:25 +00:00
Václav Slavík
74c107ba48
fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Stefan Neis
8403515064
Added some const qualifiers.
...
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
DisplaySize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Julian Smart
f010ad4812
Applied patch [ 600051 ] DDE and TCP improvements and fixes
...
By Michael Fielding
As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.
1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.
Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.
3. IPC sample had trouble closing, causing crash, when closing server using window X button.
Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.
4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.
Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.
6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.
In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 14:48:16 +00:00
Vadim Zeitlin
739555e321
SetSelection() for generic wxSpinCtrl (forgot to commit before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:52:24 +00:00
Stefan Neis
27f35b6674
Make use of new array functions.
...
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:42:29 +00:00
Julian Smart
70373b5a57
Applied patch [ 600500 ] Tip-of-day: comments, translatable
...
By Robert O'Connor
This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.
See wx-dev archives August 2002 for discussion of the functionality design.
It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.
This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:08:02 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Julian Smart
5cf69f76a1
Added RTTI macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:14:30 +00:00
David Webster
018d3030cc
Weekly update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:20:42 +00:00
Julian Smart
3bce6687f4
Mods for Wine compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
David Webster
f289196b3a
Lots of updates fixing radiobox processing, checkboxes and add notebook control.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:37:52 +00:00
Vadim Zeitlin
07901ec945
added wxSpinCtrl::SetSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 01:00:04 +00:00
Vadim Zeitlin
a69be60b0f
removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:58:34 +00:00
Vadim Zeitlin
98020767fd
removed extra trailing semicolons which break compilation for some compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:39:33 +00:00
Vadim Zeitlin
d7cbabe039
disable children when the parent is disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +00:00
Vadim Zeitlin
0493ba1399
changed wxExecute(char **) version to take wxChar **
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:54:39 +00:00
Vadim Zeitlin
0ca5105b34
don't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored out a lot of duplicated code in a single function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:48:32 +00:00
Julian Smart
f9ceab7ce6
Ditribution script mods;
...
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:54:00 +00:00
Vadim Zeitlin
96d7977711
apparently CW always has vsnprintf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:04:42 +00:00
Vadim Zeitlin
ef66935925
my previous backwards compatible fix wasn't really very compatible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:37:54 +00:00
Stefan Csomor
0624ce56d8
fixed miscasing in GetOutCode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:14:57 +00:00
Vadim Zeitlin
81764280af
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:26:30 +00:00
Vadim Zeitlin
750cefbca2
deprecated static wxWizard::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:17:36 +00:00
Vadim Zeitlin
d4ea46dbad
(blind) fix for BC++ compilation problem with wxPutc() redefinition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 08:56:50 +00:00
Vadim Zeitlin
768f1af6a2
added extra parentheses to wxDynamicCast() to allow using it like wxDynamicCast(foo, Foo)->DoFoo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:58:53 +00:00
Stefan Csomor
93e5d8999f
added forcing to image conversion to always attempt a color icon (needed eg for menus)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 21:02:39 +00:00
Vadim Zeitlin
129db666f1
Windows compilation fixes after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 19:03:06 +00:00
Stefan Neis
64a1d923e6
HWND already typedef'ed when compiling with EMX (OS/2).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:25:21 +00:00
Stefan Neis
6502915206
protected to restrictive for compiling with EMX.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:24:18 +00:00
Stefan Neis
28ff8c8f9e
Added __WXPM__ specific include, so it also compiles without pre-compiled headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:22:48 +00:00
Stefan Neis
a2cd9b8641
Update to current API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:54 +00:00
Gilles Depeyrot
c016649521
BSD systems define _T to something different in ctype.h, therefore include
...
ctype.h before overriding _T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:46 +00:00
Stefan Neis
063807f6c3
Added an include to timer.h (needed for non-precompiled headers).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:22 +00:00
Stefan Neis
8d8bd9bf15
Added the usual GNU pragma.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:17:54 +00:00
Vadim Zeitlin
e93e5b0bb6
use wxWcslen() instead of wcslen() which isn't always available in wxWCharBuffer; do accept NULL in wx[W]CharBuffer ctor as the code elsewhere uses this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:14:51 +00:00
Vadim Zeitlin
f6f5941be5
reorganized, improved and hopefully simplified wxchar.h and printf() functions handling; also added wxWcslen() to fix wcslen() problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:13:44 +00:00
Stefan Csomor
2072fbbbc9
added new default handlers for open/print events, removing the need for using private headers in the specific application
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Vadim Zeitlin
44893b87ab
added wxCHECK_GCC_VERSION() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:28:48 +00:00
Robin Dunn
ec53826c06
Fixed wxGridCellFloatEditor::Clone
...
Changed wxGridCellEditor::GetString to use %f instead of %g to match
the Renderer, otherwise it would truncate/round the value to
m_precision significant digits instead of m_precision digits after the
decimal point.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:03:42 +00:00
Julian Smart
c33c81c30f
wxChoice derives from wxChoiceBase; renamed Append to DoAppend
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 10:54:15 +00:00
Gilles Depeyrot
0326d9689e
opaque toolbox structs under Classic break access to contrlDefProc
...
the default value is fine for Classic & Carbon unless __WXDEBUG__ is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 06:55:46 +00:00
Robin Dunn
92e898b0b4
Added generic LoadObject methods that can load any classtype from a
...
resources and return it as a wxObject (Assuming there is a handler for
it.)
Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +00:00
Vadim Zeitlin
74ee96987a
compilation fix for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:53:25 +00:00
Stefan Csomor
26bea6ac6d
added wxSIZE_T.. defines (every release of CW has a different typedef but I hope they all end up as unsigned long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:41:01 +00:00
Ron Lee
fdb599058d
Updates for 2.3.3 debs.
...
Typo fix for start of local event id's.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Vadim Zeitlin
7fb1b2b4c4
fixed default button handling: don't keep BS_DEFPUSHBUTTON style when the app loses focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:34:29 +00:00
Vadim Zeitlin
5036ea9074
send event from Clear() for a simple text control, send only one event from SetValue() instead of 2 for a rich one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:16 +00:00
Vadim Zeitlin
a4f25aef35
made wxFrame::SendSizeEvent() public and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:03:38 +00:00
Vadim Zeitlin
2eb4c3aabe
reverted patch 598016 (removed MSWCreateControl() visible parameter)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 16:00:45 +00:00
Julian Smart
c832ef4985
Applied patch [ 598016 ] remove flicker during combo box creation
...
By Benjamin I. Williams (biwillia76)
The attached patch completely fixes the flicker problem when
creating combo boxes. It also will make it elementary to
remove flicker during the creation of other controls
(although all the other controls are flicker free, AFAIK).
It does this by adding an optional 'visible' parameter to
the internal MSWCreateControl method, whereby the caller can
create a control invisibly by default, perform some
complicated sizing calculations, and then finally show the
control before the Create finished.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 09:41:05 +00:00
David Webster
1b75810c8d
Font updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 01:02:37 +00:00
Stefan Csomor
17e504023d
I think this is now defined in the common accel.h, I'll remove it if no build complains...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:08:29 +00:00
David Webster
25fc812c74
File dialog fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 04:12:31 +00:00
Vadim Zeitlin
15c3723c60
added wxCheckListBox::HitTest() (modified patch 594524)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:55:32 +00:00
Vadim Zeitlin
411165f3f4
added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:20 +00:00
Václav Slavík
6ada5c3359
yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:54 +00:00
Václav Slavík
7a442f311a
minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:24 +00:00
Julian Smart
c9b3918ae4
OpenGL off by default on Mac, correct scripts to
...
copy setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:38:05 +00:00
Julian Smart
131f9d9b19
Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
...
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.
Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.
wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.
Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.
dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.
Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.
GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
Vadim Zeitlin
e015c2a31f
rewrote wxString::To/FromAscii() to fix a few small problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:09:27 +00:00
Vadim Zeitlin
c12ef8a2e8
don't initialize m_str twice in wxCharBuffer ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:24 +00:00
Vadim Zeitlin
8dce54c9e6
added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:29:22 +00:00
Vadim Zeitlin
fb96947585
fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:28:51 +00:00
Vadim Zeitlin
e9bb94cf4a
removed extra semi colon which provoked CW warnings (replaces patch 596658)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:21:02 +00:00
Vadim Zeitlin
f92c90eb3a
removed extra semi colon which provoked CW warnings (part of patch 596658)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:19:33 +00:00
Julian Smart
6c70a9b594
Added generic MDI files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:27:29 +00:00
Julian Smart
b9f933ab5d
Applied patch [ 597398 ] Generic MDI, wxNotebook based.
...
By Hans Van Leemputten (hansvl)
- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...
- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...
- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.
- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/
- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
David Webster
b93f4bb9da
FileDlg updates.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 05:00:48 +00:00
Robert Roebling
ca11abde11
Lots more Unicode fixes.
...
wxClipboard fixes for GTK2 and UTF8.
wxFileConfig now uses wxConvLocal to convert text
and doesn't crash anymore..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:02:10 +00:00
Julian Smart
1241ab8ba0
Added EVT_JOY_BUTTON_... macros as per the manual,
...
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:09:40 +00:00
David Webster
c93f804a15
updates mostly for better font support and some weekly catch-up work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:24:22 +00:00
David Webster
bdc8dd3c89
some OS/2 updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:23:40 +00:00
David Webster
42d9bd5dc9
need for VisualAge to include wchar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:22:46 +00:00
Václav Slavík
4c2afb6fbc
make it possible to easily define artID from a string (for XRC)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:24:34 +00:00
Robert Roebling
eba330067e
Removed all deprecated printing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Robert Roebling
6d60815d74
Convert %s to %ls and %c to %lc in printf and scanf etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:09:48 +00:00
Julian Smart
bf89b538f2
Applied patch [ 596061 ] Adds more navigation buttons to preview
...
By Juergen Geltinger (jgelti)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 16:18:28 +00:00
Julian Smart
9f4de2dcf8
Applied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 12:43:07 +00:00
Julian Smart
af1337b041
Applied [ 594925 ] Implement wxArtProvider and XRC together
...
By Robert O'Connor (robertoconnor)
This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.
The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>
The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.
The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.
Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.
Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.
Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)
This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.
It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.
There are 8 demos:
The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..
The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).
Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Vadim Zeitlin
df7145da50
change the selection appropriately (and refresh it as needed) after deleting a notebook page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:48:45 +00:00
Vadim Zeitlin
5c36387841
fix for the bug introduced by the last commit: don't quit the program when a standard msg box is closed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:44:03 +00:00
Robert Roebling
acbeb7b368
strings are now wxChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:43:00 +00:00
Vadim Zeitlin
1cbee0b42c
the app doesn't exit any more if a dialog is shown (and destroyed) while
...
the flow of control is still in OnInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
b79a8705e6
added wxList::IsEmpty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Robin Dunn
0b190ffcee
Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Václav Slavík
db70a2f20a
define wxART_* constanst in way that will make adding XRC support easier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 20:04:18 +00:00
Stefan Csomor
8095ef23e7
attempt to bring event system in synch with MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb
separated modifier keys handling in order to distinct key/up down events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Vadim Zeitlin
aa4b7ef978
tidied up patch 583937 (wxClassInfo dtor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 22:37:41 +00:00
Robert Roebling
331a0b6b7a
New code for Update() under GTK 2.0. Added
...
native GdkRegion() constructor to wxRegion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:58:23 +00:00
Stefan Csomor
7e2eb7107d
added new method MacSetupCursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:17:56 +00:00
Václav Slavík
02a775c98e
fixed wxChar definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:39 +00:00
Václav Slavík
98e78a5eb4
fixed another typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:28 +00:00
David Webster
07df68c89a
Font fixes for the font dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 23:47:44 +00:00
Julian Smart
9bc138582e
Corrected typos for
...
typedef void (wxEvtHandler::*wxIconizeEventFunction)(wxIconizeEvent&);
typedef void (wxEvtHandler::*wxMaximizeEventFunction)(wxMaximizeEvent&);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 20:11:01 +00:00
Robert Roebling
b1ac3b56e6
Added wxString::FromAscii() wxString::ToAscii().
...
Removed wxConvFile, made it a define wxConvLocal.
Exchanged some wxConvLibc to wxConvLocal calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 13:09:57 +00:00
Stefan Csomor
43330cc9de
OSX fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 20:02:14 +00:00
Václav Slavík
3b5a798153
fixed Julian-introduced typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 14:51:26 +00:00
Robert Roebling
a59c124d06
Implemented the various printf() functions under
...
Unicode with their GNU libc 2.2 funtions. This
saves us some unicode<->ansi conversion and we
no longer need the experimental printf() code
in string.cpp. I had to implement wxSprintf()
using wxSnprintf() as the former doesn't exist
in Unicode GNU libc 2.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:58:15 +00:00
Stefan Csomor
08a88c3368
added control action for redraws (classic only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:37:02 +00:00
Stefan Csomor
e671beca24
added clipping code for controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:36:09 +00:00
Robert Roebling
92980e9076
Changed wxStat, wxAccess and wxOpen to no longer
...
being just a define so that the signature is
using wxChar under Unicode under Unix just as
it does under Unicode under Mac. This required
some modification in various places, but should
make debugging a little easier, among others.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:44:50 +00:00
Julian Smart
b318dc4237
Applied patch [ 579219 ] wxNotebook:SetPadding added
...
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.
Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.
It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.
Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.
A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).
I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
Julian Smart
5b222f1c9e
Applied patch [ 587450 ] Scoped Smart pointers and docs
...
By Jesse Lovelace (thementat)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:57:05 +00:00
Julian Smart
c7808714c9
Applied patch [ 587454 ] CW-related wx/wxchar.h fix
...
This fixes the problem in include/wx/wxchar.h with
including <wchar.h> for CW reported by Andreas
Simanowski.
The current version does not work with CW Win32 builds.
The fix suggested by Andreas is incorrect, because it
will break the wxMAC CW builds.
The purpose of conditionals starting at line 77 is to
correctly handle the various compilers. The fundamental
problem with the existing code is that it begins by
conditioning on __WIN32__. This is wrong, and makes
it hard to handle compilers that work on more than one
OS (such as CW).
Instead the conditionals should be done purely on
compilers. Each compiler can then set things
appropriately. If a particular compiler works on more
than one OS but has different needs on each OS, then
this can be handled within the code for that compiler.
The attached patch removes the top level conditional on
__WIN32__ and restructures the remainder as a series
of conditionals on individual compilers.
Igor Mikolic-Torreira
igormt@alumni.caltech.edu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:35:25 +00:00
Julian Smart
2ad99bc139
Applied [ 590985 ] fix for radiobox under motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:00:54 +00:00
Julian Smart
1c507b171a
Applied patch [ 592063 ] generic notebook does not OnSelChanging
...
Misc other mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:54:49 +00:00
Julian Smart
e797067cba
Added error directive for MSW since no longer needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 20:21:26 +00:00
Mattia Barbon
f37907ff76
Patch [ 588732 ] makes wxRB_GROUP/radiobuttons working
...
from Marcin Wojdyr (wojdyr)
Applied with some modifications (remove buttons from the chain on
destruction, or the program will segfault).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:54:46 +00:00
Robert Roebling
db16cab461
Lots of work to set PangoFontDescription as the
...
native font info data. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 16:41:31 +00:00
Vadim Zeitlin
0532a25881
added a more convenient version of wxFileType::GetOpenCommand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:49:38 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Gilles Depeyrot
d7a7bd6d27
added missing include file for ProjectBuilder (Mac OS X)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:00:55 +00:00
Robert Roebling
dd398cd02c
Added various MACROS for converting strings
...
back and forth in the different ansi/unicode/gtk
mode/versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:57:53 +00:00
Robert Roebling
54afeafe9b
Compile fix (include order) for Unicode under Unix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:52 +00:00
David Webster
760a4fb945
Fixes for common dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:12:36 +00:00
Julian Smart
d9cf726bf3
Applied patch from Benjamin Williams to improve
...
wxMenu ownerdraw behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 19:03:56 +00:00
Mattia Barbon
ef357cdac2
Mention wxMessageOutput in changes.txt
...
wxMessageOutputLog now available in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 23:30:55 +00:00
Stefan Csomor
d835f05e11
added option for getting visible region w/o children clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:03:41 +00:00
Stefan Csomor
10a3fc075c
added a MacUpdateDimensions callback for DoMoveWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:41:06 +00:00
Stefan Csomor
0034fe6d67
separate mac implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:36:12 +00:00
Stefan Csomor
c05a5f07d3
added a MacUpdateDimensions callback for DoMoveWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:33:47 +00:00
Stefan Csomor
f401a117d6
switch to a separate implementation for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:30:58 +00:00
Julian Smart
f41bc3e3f3
Renamed internal GetClientWindow to GetClientAreaWindow so
...
as not to clash with the MDI function of the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:31:59 +00:00
Julian Smart
9708db208d
Applied [ 586524 ] wxVariant Enhancements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 20:00:55 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Julian Smart
4f7202dd93
Applied patch [ 589484 ] wxGenericListCtrl, fix for direct use.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:51:07 +00:00
Mattia Barbon
99f7280659
Patch [ 588837 ] Fixes comment style in gsocket.*
...
C files should countain C-style commensts, not C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:44:31 +00:00
Mattia Barbon
ef41d80cdf
Refactored wxListBox code so that it correctly implements
...
wxControlWithItems, and removed some duplicated code.
Implemented wxCheckListBox using the same technique
as wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:35:41 +00:00
Julian Smart
e81a301cbd
Added wx/listbase.h with wxListCtrl types, so we can
...
have wxGenericListCtrl available on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 19:04:18 +00:00
Julian Smart
9cb0795323
More tweaks so wxGenericListCtrl only uses generic
...
components
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 16:01:35 +00:00
Mattia Barbon
395539f90f
Under MSW and GTK the foreground and background colour for a blit from a monochrome bitmap
...
are the text for/background colours. Until now motif used the pen and background brush colours.
Now Motif behaviour matches MSW and GTK one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:31:22 +00:00
Mattia Barbon
7af68c666b
Take into account icon mask in wxStaticBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:53:12 +00:00
Mattia Barbon
18128cbb47
Calss interface updates (wxMotif-only).
...
Made wxCheckBox inherit from wxChekBoxBase.
Corrected virtual function hiding in wxListBox.
Made wxRadioBox inherit from wxRadioBoxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:50:37 +00:00
Mattia Barbon
dba006200f
Implemented wxSpinButton for wxMotif.
...
Renamed generic wxSpinCtrl::DoGetBestClientSize to DoGetBestSize
( the "Client" appears to be a relic of the past ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 13:33:29 +00:00
Robert Roebling
f6b66bc29d
Implement SetFilterIndex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:17:14 +00:00
Václav Slavík
d0f9a3e540
libunicows moved to sourceforge
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:27:46 +00:00
Mattia Barbon
277f2e527e
Added DoSetSize and DoMoveWindow to generic wxStaticLine.
...
Now it works with sizers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:13:33 +00:00
Mattia Barbon
b5a7cdc076
Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:12:21 +00:00
Mattia Barbon
37c997b489
Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
...
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow.
As a result composite controls should work with Motif, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:10:37 +00:00
Gilles Depeyrot
fa4c1d1d41
prefix include file for Project Builder project
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 21:47:25 +00:00
Jouk Jansen
474cd91658
Committing in .
...
changed one parameter in the definition of wxBitmap from long to int.
(just as it is in wxGTK). This solves a compilation problem on OpenVMS.
Modified Files:
wxWindows/include/wx/motif/bitmap.h
wxWindows/src/motif/bitmap.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:29:47 +00:00
Stefan Csomor
f8d5f1e2b4
removed virtual modifier from Command handlers, added readonly and color information to textctrls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 08:42:04 +00:00
Mattia Barbon
74698d3a22
Added wxMessageOutput as per the discussion on wx-dev.
...
Added wxApp::DoInit to initialize the global wxMessageOutput instance.
Changed wxCommandLineParser to use wxMessageOutput.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:29:53 +00:00
Vadim Zeitlin
53d838be50
IsSingleLine() is now in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:40 +00:00
Vadim Zeitlin
018f2884d8
added operator++/-- for wxAutoULong (SF patch from Igor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:06 +00:00
Julian Smart
b31989e208
Added wxListCtrl to derive from wxGenericListCtrl,
...
ditto for wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:03:03 +00:00
Vadim Zeitlin
3d7fa4e684
made wxDllLoader more backwards compatible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:42:38 +00:00
Julian Smart
3cd94a0d11
Applied patch [ 583922 ] Make generic/wxListCtrl avail. in WIN32
...
Generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
renamed to wxGenericImageList, so they can be used on wxMSW
(Rene Rivera).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 08:51:49 +00:00
David Webster
10769d8c47
Lots of updates for color dialog and sliders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:27:36 +00:00
Václav Slavík
a99acbb00a
Unicodification of wxDataStreams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Julian Smart
55f9eba3b2
Returned value from operator=
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 21:45:40 +00:00
Julian Smart
f3a3457e65
operator = implemented inline.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:32:41 +00:00
Vadim Zeitlin
aa8e9a36c4
added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text control methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:51:04 +00:00
Vadim Zeitlin
5bf75ae769
default style now applies to the text entered by the user as well (patch 574789)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Julian Smart
c7d176e2bf
Made wxMouseEvent = operator public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 17:34:06 +00:00
Vadim Zeitlin
1944ad7618
1. more consistency in wxTree/ListEvent methods naming convention:
...
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
04354c1deb
reverted Chris' MSW additions patch (we should use IPC, not Windows-only functions to implement this functionality)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:41:38 +00:00
Stefan Csomor
b12e1d2fcd
added Mark Newsam's patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:10:06 +00:00
Robin Dunn
c2bbeff004
signned/unsigned fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 02:06:47 +00:00
Robin Dunn
9b9337da0c
Moved the check for page scrolling with the wheel into wxMouseEvent so
...
it wouldn't have to be duplicated everywhere.
Also fixed wxSTC so it can handle wheel page scrolling too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Julian Smart
a536e41102
Applied patch [ 573644 ] wxDisplay for Mac (again)
...
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW
Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Julian Smart
250b589f71
Applied patch [ 581139 ] Misc wxCmdLineParser changes/fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:53:02 +00:00
Julian Smart
1d2eddff4a
Applied patch [ 583877 ] Clone events correction
...
Applied patch [ 583937 ] Fix in wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:43:55 +00:00
Ron Lee
4aa0010b2b
Added Set{Position,Size} to wxRect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 06:29:22 +00:00
Vadim Zeitlin
74bdbc46c3
explicit support for CW (patch 582581)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 21:55:19 +00:00
Mattia Barbon
17234b2644
Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Vadim Zeitlin
986ecc861c
added wxEXPLICIT macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Václav Slavík
c6eaa6fb67
wxPrinting fix for wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:49 +00:00
Václav Slavík
95543830f5
made printing to PS possible under wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:14 +00:00
Robin Dunn
6bad4c327c
Icons fetched from wxMimeTypesManager did not get the width/height of
...
the icon, now they do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 18:29:52 +00:00
Chris Elliott
d08d71a844
single instance checker addition for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 11:40:18 +00:00
Vadim Zeitlin
109c7768eb
fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrchr, wxStrstr, ...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 19:55:08 +00:00
Robin Dunn
e626d7c787
Changed wxProcess::Open to take a flags arg to pass to wxExecute.
...
Fixed a few _'s without \'s in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 23:25:14 +00:00
Vadim Zeitlin
da00a8bb16
added and documented wxProcess::Open()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:49 +00:00
Julian Smart
b23e843b99
Added wxView::OnClosingDocument so the application can do
...
cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:08:03 +00:00
Julian Smart
aacb1b8018
Somehow wxWizard lost the 'virtual' keyword for DoCreateControls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:43:58 +00:00
David Webster
5d644707ca
Toolbar/tooltip udates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 22:14:39 +00:00
Vadim Zeitlin
1eaf587e21
AIX linking fix (declare wxDataObject dtor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:17:58 +00:00
Vadim Zeitlin
e8b669d34b
added ENDSCROLL event (patch 576176)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:33:28 +00:00
David Webster
05facebb89
Tooltip udpates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:02:07 +00:00
Robert Roebling
ee4ead93f4
No events when setting values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 21:01:38 +00:00
Vadim Zeitlin
82df67d960
automatically initialize m_cRef to 0 (patch 575011 + more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 11:52:11 +00:00
David Webster
6c0fdfbb42
Updates for tooltip support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:03:04 +00:00
Vadim Zeitlin
edb8f2985f
fix crash when the user code refuses to validate the new text when editing the item and a generic label editing code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:38:46 +00:00
Robert Roebling
1349f4f233
Return to 20x20 default size.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 14:01:04 +00:00
David Webster
b6f4144e59
no message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 03:38:01 +00:00
Robert Roebling
98dd4ee512
You can crash GTK with scrolled windows being
...
only 20x20 pixels large. This took me merely
three weeks to find out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 14:35:55 +00:00
Mattia Barbon
8fde61ed10
GCC can't test prototype if using wchar_t instead of char.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 12:49:41 +00:00
Vadim Zeitlin
e422162882
compilation error fix (trailing comma in an enum)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 22:28:23 +00:00
Julian Smart
aca78774b6
Added wxRadioButton::MSWWindowProc to reset m_focusJustSet -- otherwise,
...
if RB1 has the focus, then you click on RB2, then back on RB1, no
command event will be generated for the last click.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 14:09:31 +00:00
Vadim Zeitlin
497dbbd37b
added wxID_ANY, replaced #define's with enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:25:22 +00:00
Ron Lee
8b48128836
added DECLARE_EXPORTED_LOCAL_EVENT_TYPE for use with user libs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 04:56:41 +00:00
Ron Lee
ab8af15fed
and yet once more to fix gtk compilation.. this is a nasty kludge
...
though, if anyone knows better, please do..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 01:21:09 +00:00
David Webster
d697657f1e
OS/2 updates and initial toolbar implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 22:22:13 +00:00
Chris Elliott
4daa4d665a
make motif cursor from wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 20:34:20 +00:00
Robin Dunn
82805fe280
Fixed "different linkage" compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 17:45:31 +00:00
Ron Lee
76880b8757
Preserve prior StatusBar contents when adding removing fields
...
(consistant with MSW behaviour).
Made m_statusSring a wxArrayString, furthur simplification may
be possible if someone is interested and has the time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 23:53:58 +00:00
Ron Lee
bd595142ac
added export decls for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:41:17 +00:00
Gilles Depeyrot
4b651a4675
rename method to prevent collision with some BSD definitions of macro Free()
...
(detected compiling mahogany)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 16:25:18 +00:00
Vadim Zeitlin
c2c59b2286
made wxGenericFontDialog derive from wxFontDialogBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 00:46:11 +00:00
Chris Elliott
b54459c491
STC and Motif patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:35:43 +00:00
Vadim Zeitlin
f0d5e7a25a
react to the year being changed in the spin control text zone and not only with the spin buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 23:13:43 +00:00
Václav Slavík
e9c9f9d42d
compilation fix (wxUniv/MSW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:10:51 +00:00
Vadim Zeitlin
8b94d99978
fixed warning about printf format specifications <-> argument mismatches in wxLogLastError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 16:27:29 +00:00
Julian Smart
c55fd2c60d
Corrected typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 07:33:02 +00:00
Julian Smart
5968a0dcd9
Corrected OnAssert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-25 18:12:07 +00:00
Václav Slavík
17b439e88a
added QS_ALLPOSTMESSAGE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 22:35:40 +00:00
Stefan Csomor
0304b43712
added WXDisplay for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 18:28:58 +00:00
Gilles Depeyrot
f9b170bd18
added attribute printf to perform printf format checks (GNU C)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 16:58:27 +00:00
Gilles Depeyrot
0078f87f40
added missing include file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 16:56:40 +00:00
Julian Smart
24f4ad9592
Applied patch [ 546335 ] Added Automation types and array access
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:10:32 +00:00
Julian Smart
fc0d5b6bd2
Applied patch [ 565012 ] Add wxTextValidator to wxTextEntryDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:51:32 +00:00
Vadim Zeitlin
3ee5833474
renamed wxWizard::Fit() to FitToPage() to avoid potential conflicts with wxWindow::Fit() (and the compiler warnings about it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:49:28 +00:00
Gilles Depeyrot
7357f98198
added attribute printf checks to printf like functions (when using gcc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:38:43 +00:00
Gilles Depeyrot
58863a9e34
added macro definitions for printf like function checks when using gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:37:00 +00:00
Stefan Csomor
72ddb593f1
factored out key handling for better integrating with carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:01:18 +00:00
Vadim Zeitlin
dac348b9e2
fixed compilation with CW8 (SF patch 567845) and also added alignment fillers for wxCriticalSection::m_buffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:33:22 +00:00
Vadim Zeitlin
bd9cd5343b
fixed setting tooltips for slider by moving the code working around comctl32.dll bug from wxToolBar to wxWindow so that it is used for all common controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:49:19 +00:00
Vadim Zeitlin
7f1cf28c2e
added TRUE default value for Show() argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 12:52:06 +00:00
Chris Elliott
e104adcd97
wxSVGDC class include files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:17:46 +00:00
Julian Smart
5152b0e59a
Added AddGrab, RemoveGrab, IsGrabbed to wxTopLevelWindowGTK
...
and AddGrabIfNeeded to wxHtmlHelpController, to assist with
showing the help window from a modal dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 21:46:42 +00:00
Vadim Zeitlin
0d6d6051d7
added ViewStart() as synonym for GetViewStart() in WXWIN_COMPATIBILITY_2_2 mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 12:47:40 +00:00
David Webster
47df2b8c54
Catching up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 22:08:57 +00:00
Vadim Zeitlin
5a403e3f2a
changed WM_GETDLGCODE handling so that all windows get WM_CHARs by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:32:20 +00:00
Vadim Zeitlin
f586fde36c
removed unused wxWindow::m_doubleClickAllowed field
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:20:03 +00:00
Robin Dunn
be88a6ade9
Fixed wxApp::OnAssert signature.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 01:43:03 +00:00
Vadim Zeitlin
e5251d4f78
fixes to the sizers behaviour necessary to make the log dialog work again
...
(thanks to Dimitri) and a few updates to the docs after the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:21:20 +00:00
Vadim Zeitlin
aad65f130d
new wxASSERT implementation using wxAssert() helper function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:37:43 +00:00
Vadim Zeitlin
dc84437ea2
fix link of wxDateTime inline methods using mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:46:39 +00:00
Vadim Zeitlin
085ad68651
moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Vadim Zeitlin
c1cb41536a
added wxGetProcessId()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 20:26:24 +00:00
Mattia Barbon
d1f2dc804c
Check for attributes before copying them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 17:58:08 +00:00
Vadim Zeitlin
678ebfcdae
attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00
Mattia Barbon
459e74ba69
Update taskbar.h to use DECLARE/DEFINE_EVENT_TYPE; fixes an runtime error
...
with MinGW and (probably) Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 19:24:21 +00:00
Vadim Zeitlin
dc429f89a6
fixed wxScrolledWindow::SetScrollbars() which was broken by the virtual size changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:36:36 +00:00
Vadim Zeitlin
d42e3d592b
restored inline for wxCriticalSection methods for !MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:46:44 +00:00
Julian Smart
76df57d24e
Removed 'inline' which was causing unresolved symbols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 18:32:06 +00:00
Václav Slavík
bfc4a1c1ef
wxMGL requires wxUSE_PALETTE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 17:56:53 +00:00
Vadim Zeitlin
4562f6852f
added wxCRITICAL_SECTION macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:56 +00:00
Robert Roebling
ad9fb0334f
Dislaying popup tip windows seems to work right now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:35:51 +00:00
Vadim Zeitlin
9e84b84742
wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Vadim Zeitlin
24b3cc2c96
reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:30:00 +00:00
Julian Smart
53e112a093
Added Delete member to wxStringHashTable in order to implement
...
wxHelpProvider::RemoveHelp, which is now called from ~wxWindowBase.
Without cleaning up the hash tables, reused window addresses will cause
the CS help to fail rather comically over time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 21:06:18 +00:00
Gilles Depeyrot
6d6da89ccb
applied SourceForge patch # 544164 (hidden virtual method in wxMenuBar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 20:00:47 +00:00
Robin Dunn
c13219d6a8
Changed FindTExt intercase to more easily handle additional flags.
...
Fixed GetCharAt and GetStyleAt to only return values 0..255 instead of
possibly negative values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 19:25:29 +00:00
Vadim Zeitlin
6b0d8a01d1
added default parameter values to the overloaded Show() and Enable() versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
db1a42b874
(re)enable Cancel button in Resume()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:08:39 +00:00
Vadim Zeitlin
cb59313ce5
added incremental keyboard search to wxTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 15:00:57 +00:00
Vadim Zeitlin
b0a2d8a882
added and documented wxTIMER_XXX constants to be used instead of bool parameter to wxTimer::Start()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 14:59:52 +00:00
Robert Roebling
ac0c857aaa
Overrode wxMDIChildFrame's DoSetSize to not misplace
...
the window when it was using wxFrame's method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 14:24:29 +00:00
Vadim Zeitlin
ace954f1db
replaced quotes in #include with angle brackets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-01 11:48:26 +00:00
Vadim Zeitlin
03b444f6af
removed unused wxWindowGTK::m_isFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:18:34 +00:00
Vadim Zeitlin
2b4f3c9f76
replaced m_isRadioButton with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:17:23 +00:00
Vadim Zeitlin
d760f23e76
replaced wxWindowGTK::m_isListBox with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:14:00 +00:00
Vadim Zeitlin
d1f2ac459a
replaced wxWindowGTK::m_isStaticBox with a virtual function and replaced 3 occurences of the code finding the window for the mouse events with one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:13:17 +00:00
Vadim Zeitlin
3ae4c570c4
replaced wxWindowGTK::m_isListBox with a virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:00:01 +00:00
Vadim Zeitlin
6cad4f1b21
fixes for the focus handling: don't set back to back set/kill focus events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:51:43 +00:00
Robert Roebling
fba2d5e694
Added wxToolBar::FindControl() to fish out
...
controls in a toolbar by its id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 10:00:24 +00:00
David Webster
6ed98c6a3b
Catching up for the week
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 21:50:34 +00:00
Vadim Zeitlin
d715d419e1
fix compilation without WXDEBUG (includes patch 561458)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:54:50 +00:00
Vadim Zeitlin
3c67451472
added consts to wxAcceleratorTable ctors from wxAcceleratorEntry array
...
(repaces patch 561183)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:51:14 +00:00
Robin Dunn
92bbd64f7f
Patch 559673 and 561053
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 22:06:55 +00:00
Robin Dunn
bb751cf906
Fixed wxMac's wxStaticText::SetFont to behave like the others and
...
resize the control to fit the text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 21:21:49 +00:00
Robin Dunn
479101cac1
Changed the default style flags on wxSplashScreen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:23:10 +00:00
Vadim Zeitlin
c73b439f80
added wxWizard::Fit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:41:35 +00:00
Vadim Zeitlin
ec5bb70d65
attempts to make GetBestSize() work using constraints (failed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:37:42 +00:00
Stefan Csomor
b821344e13
added accessors for last focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:49:32 +00:00
Vadim Zeitlin
869f248c8d
fixed assert when using wxMiniFrame (result of recent changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 20:34:13 +00:00
Vadim Zeitlin
9dfef5ac20
changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
...
now work more as expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
146ba0feac
new wxWindow::FindWindowByXXX() methods replacing the old global functions
...
(patches 560214, 559916, 559811, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:24:43 +00:00
Vadim Zeitlin
7e25f59e48
prevent the parent window from losing activation when a popup is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Robert Roebling
d45bc43695
Set the focus to the html display window
...
if the help frame comes to the front.
With this, you can use context sensitive
help systems without the mouse.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 09:40:17 +00:00
Vadim Zeitlin
abcbaea73f
wxUniv compilation fixes (patch 559620)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:25:06 +00:00
Vadim Zeitlin
554726912a
ixed compilation for wxUSE_STREAMS == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:23:10 +00:00
Robert Roebling
72763bfed4
Redirect SetFocus Part II.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:47 +00:00
Vadim Zeitlin
91c68292f6
fixed propagating of EVT_WIZARD_XXX events to the parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:36:20 +00:00
Vadim Zeitlin
39d16996b7
restore the stream position in wxImageHandler itself instead of forcing all
...
derived classes to do it themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:14:47 +00:00
Vadim Zeitlin
86e5d706f4
fixed GL case in #include (patch 557178)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:56:38 +00:00
Stefan Csomor
6fda4e7a68
added hide/show
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:35:18 +00:00
David Webster
72b4f026a2
Font dialog fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 04:19:47 +00:00
Stefan Csomor
559ae136c4
carbon event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:34:05 +00:00
Stefan Csomor
3342663931
Carbon-Standard conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:33:13 +00:00
Stefan Csomor
fdc8ef9485
Dan 'Bud' Keith's Implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:32:28 +00:00
Stefan Csomor
6c28ba0c66
OnInit for adding carbon event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:31:25 +00:00
Václav Slavík
41fecb4451
Cosmetic changes to wxSS::GetScreen:
...
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Julian Smart
baaae89f09
Updated font dialog constructors to use a reference to the font data
...
as per more recent convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Stefan Csomor
35f6182b39
added GetApplicationScript for non Carbon builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:08:30 +00:00
Vadim Zeitlin
c7beb04848
generate EVT_SCROLL events for the standalong scrollbars, not EVT_SCROLLWIN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 10:45:49 +00:00
Julian Smart
f8169ce715
Added missing const for operator !=
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 13:13:17 +00:00
Gilles Depeyrot
6dcbb6d0d9
applied copy constructor fix to assignment operator as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 06:22:01 +00:00
Vadim Zeitlin
63ec9dbbac
don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Robin Dunn
0c5b83b0fa
Added some inline helpers so the dependence on wxUSE_UNICODE and
...
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
David Webster
430974f8c4
Weekly catch up.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:10:59 +00:00
Vadim Zeitlin
3fde374f3f
fixes to wxFontDialog after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:26:01 +00:00
Vadim Zeitlin
dbc65e2760
fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Julian Smart
c42a918295
Added overloaded AddChild from contributor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 18:43:46 +00:00
Gilles Depeyrot
50947acc3b
corrected wxFontData assignement operator (was recursive!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 07:48:53 +00:00
Vadim Zeitlin
036da5e374
changed the handling of the default buttons to be more logical
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Gilles Depeyrot
7c720ce633
added wxControlWithItems constructor/destructor (for Darwin)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:14:46 +00:00