Revision: 930
http://sourceforge.net/p/jazzplusplus/code/930
Author: pstieber
Date: 2013-01-02 17:41:07 +0000 (Wed, 02 Jan 2013)
Log Message:
-----------
1. Updated a call to the wxPanel constructor.
2. Commented out an unused variable.
Modified Paths:
--------------
trunk/jazz/src/SliderWindow.cpp
Modified: trunk/jazz/src/SliderWindow.cpp
===================================================================
--- trunk/jazz/src/SliderWindow.cpp 2013-01-02 17:38:59 UTC (rev 929)
+++ trunk/jazz/src/SliderWindow.cpp 2013-01-02 17:41:07 UTC (rev 930)
@@ -45,7 +45,7 @@
in_constructor = true;
n_sliders = 0;
sliders_per_row = 1;
- panel = new wxPanel(this, 0, 0, 1000, 1000);
+ panel = new wxPanel(this, wxID_ANY, wxPoint(0, 0), wxSize(1000, 1000));
if (tdefs != NULL)
mpToolBar=new JZToolBar(this, tdefs);
@@ -93,7 +93,7 @@
void JZSliderWindow::OnSize(wxSizeEvent& Event)
{
cout <<"JZSliderWindow::OnSize "<<in_constructor<<endl;
- wxSize sz = Event.GetSize();
+// wxSize sz = Event.GetSize();
if (in_constructor)
{
@@ -148,7 +148,6 @@
return true;
}
-
void JZSliderWindow::AddItems()
{
#ifdef OBSOLETE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|