void onEndChange_Bar(wxCommandEvent& event);
void onSelectionEnd(wxCommandEvent& event);
void onMovedBar(wxCommandEvent& event);
+ void PushEventHandler();
+
private:
//--------------------------------------------------------------------------------------------------------------------------------
// Attributes
//--------------------------------------------------------------------------------------------------------------------------------
- SliderMinMax * mbbtkSliderMinMax;
- mBarRange * modBarRange;
+ SliderMinMax *mbbtkSliderMinMax;
+ mBarRange *modBarRange;
};
public bbtk::WxBlackBox
{
BBTK_BLACK_BOX_INTERFACE(SliderMinMax,bbtk::WxBlackBox);
-//==================================================================
-/// User callback called in the box contructor
-virtual void bbUserConstructor();
-/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
-/// User callback called in the box destructor
-virtual void bbUserDestructor();
-//==================================================================
BBTK_DECLARE_INPUT(Orientation, int);
BBTK_DECLARE_INPUT(InW, int);
BBTK_DECLARE_INPUT(InH, int);
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
- void CreateWidget();
+ void CreateWidget(wxWindow*);
private:
- mBarRange* mwxwidget;
+ bool firsttime;
+ mBarRange *mwxwidget;
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(SliderMinMax,bbtk::WxBlackBox);