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:
Julian Smart
2002-02-05 12:18:49 +00:00
parent 1f86850d45
commit ba09d3bb3b
3 changed files with 154 additions and 33 deletions

View File

@@ -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