Applied Hans Van Leemputten's FL separator patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define NEW_TEST_EXIT 1103
|
||||
|
||||
#include "wx/panel.h"
|
||||
#include "wx/statline.h"
|
||||
|
||||
// Define a new application type
|
||||
class MyApp: public wxApp
|
||||
@@ -51,5 +52,23 @@ public:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
/*
|
||||
* Quick example of your own Separator class...
|
||||
*/
|
||||
class wxMySeparatorLine : public wxStaticLine
|
||||
{
|
||||
public:
|
||||
wxMySeparatorLine()
|
||||
{}
|
||||
wxMySeparatorLine( wxWindow *parent, wxWindowID id)
|
||||
: wxStaticLine( parent, id)
|
||||
{}
|
||||
|
||||
protected:
|
||||
virtual void DoSetSize( int x, int y,
|
||||
int width, int height,
|
||||
int sizeFlags = wxSIZE_AUTO);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user