Commit Graph

390 Commits

Author SHA1 Message Date
Vadim Zeitlin
0d559d69c8 1. Split{Horizontal|Vertical} now accept negative args to set the
size of right/lower pane (positive arg sets the size of
   left/upper one as before, 0 is the same as -1 before: choose
   default)

2. OnSashPositionChange() virtual function added - it may return
   FALSE to cancel position change

3. splitter sample and docs (couldn't compile them though) updated


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-23 13:15:15 +00:00
Julian Smart
1a3ac83faf More-or-less finished reasonably cool wxToolBar class with tooltips.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-22 14:08:14 +00:00
Julian Smart
ef366d323b Added WXHTREEITEM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-22 10:44:07 +00:00
Julian Smart
06e38c8e2e Mods for Gnu-Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-22 10:43:16 +00:00
Robert Roebling
fc54776e31 SetBackground for ListBox and others
Removed the old and famous wxSplitter bug


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-21 22:21:09 +00:00
Julian Smart
0d57be4594 More Motif stuff incl. beginnings of wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-21 21:43:20 +00:00
Vadim Zeitlin
87832b70c5 added back the missing "unsigned"s to wxColour ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 21:40:39 +00:00
Vadim Zeitlin
4d94751752 sorry... forgot to commit these 2 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 15:08:30 +00:00
Vadim Zeitlin
e4a81a2e96 wxColour(const char *) ctor related modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 14:35:22 +00:00
Denis Pershin
735c6572dc .cvsignores added
Begin my work on wxTreeCtrl for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 07:47:25 +00:00
Robin Dunn
e0a09ce419 Commented out constructor causing ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 02:11:12 +00:00
Robin Dunn
c0ac1c32a4 commented out constructor causing ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-20 02:10:29 +00:00
Julian Smart
8704bf74fb More Motif additions: mdi and sashtest samples now just about work!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-19 21:51:15 +00:00
Vadim Zeitlin
68dda78574 1. wxTextCtrl::SetBackgroundColour() now works
2. wxListBox::SetBackgroundColour() now does something, although still not
   what I'd like
3. wxColour() now has a ctor from "const char *" to allow calls like
   SetBackgroundColour("green");
4. controls sample modified to use colors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-19 14:18:56 +00:00
Vadim Zeitlin
be6bf94bf0 added methods for sequential scan of wxTextFile: Get{First|Next|Prev|Last}Line
and GetCurrentLine, GoToLine, Eof.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-19 12:39:38 +00:00
Vadim Zeitlin
08b7c251c4 new wxTreeCtrl files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-18 22:46:23 +00:00
Julian Smart
a4294b7832 Motif additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-18 22:31:48 +00:00
Julian Smart
89c7e96229 Motif updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-17 09:38:15 +00:00
Julian Smart
47bc106012 Misc. Motif; removed duplicate wxICON; variant compile fix; added wxString form
of wxStripMenuCodes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-16 14:38:52 +00:00
Unknown (UG)
85ee3474b7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-16 14:35:50 +00:00
Robin Dunn
8a9523f25d Added wxFrame::SetStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-15 16:14:55 +00:00
Julian Smart
a24ce62235 Commented out _CrtSetDbgFlag yet again, restored setup.h settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-15 10:58:30 +00:00
Julian Smart
77e3eac5f2 Presumably someone didn't mean to commit that wxUSE_XPM_IN_MSW change...
Added wxID_SELECTALL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-15 09:11:39 +00:00
Vadim Zeitlin
c085e33398 minor changes a bit everywhere + a small wxLog change (Enable()/IsEnabled()
added) + wxTimer member vars are made protected again (but a friend decl
added for the callback)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 23:53:24 +00:00
Guilhem Lavaux
75ed1d15d0 * wxSocket fixes
* wxStream: - new inheritance, new stream buffer, nearly the same API for the
              end user
            - updated other streams consequently
* wxGTK: some change to make it compile on GTK 1.0 and GTK 1.1
* small changes on wxThread to prepare a more reentrant lib
* wxVariant works with wxStream too now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 17:36:50 +00:00
Julian Smart
1b19f0560f Removed windows.h and friend function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 17:11:12 +00:00
Unknown (UG)
4c7e33c5ea fix for private access for wxTimerProc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 16:43:19 +00:00
Julian Smart
c3939f625e Protected -> public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 16:30:43 +00:00
Unknown (UG)
8a60ae88fb fix for vc4.2+ for c++ standard exception handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 16:29:51 +00:00
Julian Smart
da36f5446f Rewrote ConvertToStandardCommandArgs; resource.h correction; ntwxwin.mak
correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 08:13:09 +00:00
Julian Smart
387a3b02e0 Session management changes for wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 19:45:24 +00:00
Vadim Zeitlin
03f38c58fd 1. wxTimer::Start() returns bool in wxGTK too (other minor corrections
to this class, such as "const" addition, Notify() is = 0 now...)

2. wxGTK::wxTextCtrl::Delete renamed to Clear for consistency

3. wx/wx_prec.h now includes wx/setup.h even if !wxUSE_PRECOMP because
   otherwise (recently added) tests "#if wxUSE_IOSTREAMH" donb't work.

4. Other compilation fixes for wxGTK (now it compiles again)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 13:09:15 +00:00
Julian Smart
fbc535ff08 Changes related to stream includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 07:46:15 +00:00
Julian Smart
fd71308fc8 Dialog unit mods; wxProp tidying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-09 12:01:58 +00:00
Julian Smart
42ff6409d9 Latex updates; added defines to printdlg.h for referring to generic print dialogs
by standard names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-07 11:04:27 +00:00
Julian Smart
1b826605f5 FreeBSD patch to sckaddr.cpp; include more files in manual; misc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-06 09:33:58 +00:00
Vadim Zeitlin
2c3b684c2b bogus assert removed, optimized (and removed a bug in process of doing it)
wxString::Trim


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-03 00:25:17 +00:00
Julian Smart
dfad059924 Removed DrawOpenSpline since it doesn't seem to be needed, with required changes
in all ports. Added Motif wxFileDialog. Added wxPostScriptModule and removed
PostScript init in app.cpp. Also removed wxMessageBox function from
generic implementation. Windows release .exes are now smaller (< 300K for minimal.exe).
Some OGL updates. __try -> try in MSW main.cpp. BC++ 5 fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-02 12:50:01 +00:00
Robin Dunn
d1c74ca98b Added wxFrame::SetStatusBar for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-02 06:38:30 +00:00
Robin Dunn
d4b67f95d2 Found the RIGHT place to make the __unix__ fix.
Undoing the other changes I just made.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-30 23:37:45 +00:00
Robin Dunn
217e13fa85 fixed Stricmp ifdef to also check for __unix__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-30 23:07:37 +00:00
Vadim Zeitlin
c89a610604 1) wxGTK now use the new, native implementation of wxTreeCtrl.
2) The treectrl sample uses the icons (not only under Windows).
3) A couple of minor changes in treectrl.cpp itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-29 20:02:53 +00:00
Denis Pershin
1c3d41800c See the prev one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-29 12:36:49 +00:00
Julian Smart
f97c985452 More wxMotif work, OGL enhancements, USE_ macro corrections, object.cpp delete
operator correction for VC++ 6


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-28 15:42:54 +00:00
Vadim Zeitlin
7ce404dd7b an extra backslash removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-28 14:55:45 +00:00
Vadim Zeitlin
47d67540a0 USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 13:28:52 +00:00
Denis Pershin
d069d02e1e const added to GetBitmap it was my fault.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 04:03:41 +00:00
Julian Smart
76626af21b Fixed delete operator for VC++ 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-24 15:49:16 +00:00
Julian Smart
e97f20a0f2 wxMotif: wxWindow/Client/PaintDC starting to work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-23 13:56:00 +00:00
Julian Smart
16c1f7f345 Some more Motif work; included utils.h in fileconf.cpp (for wxGetHomeDir or something)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-22 21:15:56 +00:00