|
From: <pst...@us...> - 2011-08-05 02:16:19
|
Revision: 880
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=880&view=rev
Author: pstieber
Date: 2011-08-05 02:16:13 +0000 (Fri, 05 Aug 2011)
Log Message:
-----------
1. Made a cosmetic change.
2. Changed event to Event.
3. Used Event.Skip instead of calling the base class OnSize.
Modified Paths:
--------------
trunk/jazz/src/Random.cpp
Modified: trunk/jazz/src/Random.cpp
===================================================================
--- trunk/jazz/src/Random.cpp 2011-08-05 02:03:36 UTC (rev 879)
+++ trunk/jazz/src/Random.cpp 2011-08-05 02:16:13 UTC (rev 880)
@@ -305,17 +305,17 @@
}
BEGIN_EVENT_TABLE(JZArrayEdit, wxScrolledWindow)
- EVT_SIZE ( JZArrayEdit::OnSize)
+ EVT_SIZE(JZArrayEdit::OnSize)
EVT_MOUSE_EVENTS(JZArrayEdit::OnMouseEvent)
END_EVENT_TABLE()
-void JZArrayEdit::OnSize(wxSizeEvent& event)
+void JZArrayEdit::OnSize(wxSizeEvent& Event)
{
- w = event.GetSize().GetWidth();
- h = event.GetSize().GetHeight();
+ w = Event.GetSize().GetWidth();
+ h = Event.GetSize().GetHeight();
- wxScrolledWindow::OnSize(event);
+ Event.Skip();
int tw, th;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|