make console panel compile correctly in vc7.1, wx2.6

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1632 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2011-01-21 14:55:42 +00:00
parent c3133d761d
commit df32d0e99b
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class MessageCtrl : public wxScrolledWindow {
Refresh(false);
}
int find_point(int y) {
size_t find_point(int y) {
// TODO: could do a binary search here
for (size_t i = 0 ; i < messages.size() ; ++i) {
if (y >= messages[i]->top && y < messages[i]->bottom()) return i;
+6
View File
@@ -576,6 +576,12 @@
<File
RelativePath=".\gui\set\cards_panel.hpp">
</File>
<File
RelativePath=".\gui\set\console_panel.cpp">
</File>
<File
RelativePath=".\gui\set\console_panel.hpp">
</File>
<File
RelativePath=".\gui\set\keywords_panel.cpp">
</File>
+1 -1
View File
@@ -74,7 +74,7 @@ typedef wxOutputStream OutputStream;
typedef wxEvent wxMouseCaptureLostEvent;
#define EVT_MOUSE_CAPTURE_LOST(handler) // ignore
#define wxEVT_MOUSE_CAPTURE_LOST 12345678 // not an actual event type
#define wxAutoBufferedPaintDCBase wxBufferedPaintDC
#define wxAutoBufferedPaintDC wxBufferedPaintDC
#endif
// ----------------------------------------------------------------------------- : Other aliasses