Commit Graph

17305 Commits

Author SHA1 Message Date
Vadim Zeitlin
0423b68518 wxImageList ctor now takes the same arguments as the MSW version (but it's
still not implemented)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-01 15:43:03 +00:00
Vadim Zeitlin
74bedbeb40 many changes to make generic tree control (more) MSW compatible:
1) wxEVT_COMMAND_TREE_EXPANDING event now generated
 2) tree control doesn't not delete children on branch collapse any more
 3) migging image list and image-related functions added (but not yet
    implemented)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-01 15:42:11 +00:00
Karsten Ballüder
fd02ae23c2 Removed the WXUNUSED() from size parameters in wxIcon(filename,width,height)
and added default values of -1,-1 to make it compatible with MSW behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-30 12:42:46 +00:00
Vadim Zeitlin
29d87bba53 fixes redraw bug which was leaving a horizontal strip under the tree item
after it was unselected (in wxGTK)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-29 16:23:41 +00:00
Karsten Ballüder
a5f81d8c07 Added my wxWindows based layout engine to the repository.
It arranges text and graphics for display on a wxDC.
This code is licensed under the LGPL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-29 12:44:36 +00:00
Karsten Ballüder
8f79098a04 fixed event type parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-29 12:18:42 +00:00
Julian Smart
780d37acc7 Separated out Win95 versions of gauge, slider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-28 11:34:42 +00:00
Julian Smart
ad860fbf5d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-28 11:33:08 +00:00
Julian Smart
da87a1ca42 Separated out Win95 versions of gauge, slider; added wxTabCtrl::GetCurFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-28 11:32:14 +00:00
Julian Smart
003a43dc88 Changes for wxEventType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 22:00:38 +00:00
Julian Smart
6c6f51f6bb Changes to aid debugging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 21:59:42 +00:00
Julian Smart
646930985a wxEventType alterations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 20:19:48 +00:00
Julian Smart
7798a18ec8 New wxEventType for event type enum, and corresponding alterations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 20:18:30 +00:00
Vadim Zeitlin
68919656bb corrected "of by 1" error in wxString::insert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 15:39:01 +00:00
Vadim Zeitlin
604a178390 added support for label alignments in wxStaticText::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 14:29:47 +00:00
Vadim Zeitlin
ff829f3f6d made the interface more compatible with the MSW version (although
InsertPage and wxEVT_PAGE_CHANGING are still not implemented) and
implemented the wxEVT_PAGE_CHANGED callback.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-26 14:29:11 +00:00
Julian Smart
dabeb02181 Cured DC/GDI object leak; listbox window proc restored from debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-25 21:30:23 +00:00
Julian Smart
ad95e0f64e Various measures to reduce flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-25 09:45:27 +00:00
Julian Smart
da938cfd99 Reduced flicker by a combination of less background erasing, and double-buffering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-25 09:43:59 +00:00
Vadim Zeitlin
f1da2f03fc misleading wxASSERT() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-24 14:37:28 +00:00
Vadim Zeitlin
20193f1dab bug in wxNotebook::OnSize() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-23 17:47:42 +00:00
Vadim Zeitlin
4e6322e0e5 added OnSize() to wxNotebook which forwards size events to the pages: fixes
the layout problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-23 16:28:49 +00:00
Julian Smart
46851318fe Corrected problem with MDI children not refreshing (removed WS_CLIPCHILDREN).
Double-fixed the LEAVE/ENTER bug...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-23 10:29:23 +00:00
Julian Smart
ab22cb9a01 Removed deletion of m_selections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:53:39 +00:00
Julian Smart
f0edd8249f Removed Scanf, Scanfv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:52:43 +00:00
Julian Smart
607d906178 Added more flags to resource.cpp, #ifdefed out ScanfV for Windows, some
grid typo fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:48:22 +00:00
Julian Smart
1c089c47f3 Cured problem introduced by LEAVE/ENTER OnIdle code; bugs in gauge sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:43:48 +00:00
Julian Smart
565215b26a Added wxCLIP_CHILDREN style (mainly for getting rid of flicker), other minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:27:14 +00:00
Vadim Zeitlin
f54f3bffce attempt to clean up a little keyboard handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:25:07 +00:00
Vadim Zeitlin
1311c7a9bb wxCHECK/wxCHECK_RET changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:17:39 +00:00
Vadim Zeitlin
a539b39f6b wxCHECK change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:17:15 +00:00
Vadim Zeitlin
144833307d GetSelections() changed to work with wxArrayInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:09:38 +00:00
Vadim Zeitlin
1d7929284e now compiles with USE_XPM_IN_MSW on, added error messages if bitmap can't
be loaded/saved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:07:55 +00:00
Vadim Zeitlin
8abf40fbb9 VC++ warning suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:06:42 +00:00
Vadim Zeitlin
9efd3367c0 wxString::Scanf() removed because can't be implemented portably
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:04:23 +00:00
Vadim Zeitlin
e9c7dfb9b5 now compiles with USE_XPM_IN_MSW on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:03:20 +00:00
Vadim Zeitlin
937d4f4d31 bug in SplitPath() corrected - now ".." handled correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:58:31 +00:00
Vadim Zeitlin
7f17c6dbbf wxListbox::GetSelections() now takes a wxArrayInt instead of "int **"
(as under wxGTK)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:54:19 +00:00
Vadim Zeitlin
d736364315 now compiles with USE_XPM_IN_MSW on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:53:24 +00:00
Vadim Zeitlin
0f03d24f30 Oops... just added wxString::Scanf() functions can't be implemented under
Windows. Removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:51:27 +00:00
Vadim Zeitlin
6a415c9a1f #include "wx/msw/notebook" added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:50:11 +00:00
Vadim Zeitlin
2283a22c2d wxLogWindow::GetOldLog() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:48:53 +00:00
Vadim Zeitlin
1db08b2baf wxCHECK macros slightly changed: wxCHECK( expr, rc ) now returns rc if
expr is FALSE and wxCHECK_RET( expr ) must be used in void functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:47:38 +00:00
Karsten Ballüder
5ebd1fb227 fixed #pragma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 14:40:59 +00:00
Karsten Ballüder
1f0299c17d fixed #include paths to use local copies of png/gdk_imlib/zlib headers
fixed compiler warning in time.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 12:47:56 +00:00
Guilhem Lavaux
bdc6fff9ea * Added $(THREADS_LINK) to $(LINK_LIBS) so all programs can be linked.
* Updated the thread detected (pthread-0.7, pthread, pthreads)
* Added --without-threads to disable threads


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-20 10:25:12 +00:00
Vadim Zeitlin
9fd239ad61 put wxMessageBox() arguments in OnAssert() in the right order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-19 15:55:51 +00:00
Karsten Ballüder
6367c8394c fixed stupid compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-19 12:35:36 +00:00
Vadim Zeitlin
4bf58c62d2 changed the notebook control to use AddPage() interface (Julian's version
didn't work at all) andupdated the sample to work with it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 16:59:18 +00:00
Julian Smart
5bfe9bbc65 Fixed SetSelection, GetSelection for Portrait/Landscape selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 14:01:07 +00:00