bug createinstance less static
| | |
| | | public: |
| | | static startvframevbusiness * CreateInstance(void* implPtr,void* hWnd) |
| | | { |
| | | startvframevbusiness* pWin = new startvframevbusiness(implPtr,(HWND)hWnd); |
| | | return pWin; |
| | | return new startvframevbusiness(implPtr,(HWND)hWnd); |
| | | } |
| | | public: |
| | | int OnCmdDispatch(const wchar_t* comd) |
| | |
| | | public: |
| | | static vindexform * CreateInstance(void* implPtr,void* hWnd) |
| | | { |
| | | vindexform* pWin = new vindexform(implPtr,(HWND)hWnd); |
| | | return pWin; |
| | | return new vindexform(implPtr,(HWND)hWnd); |
| | | } |
| | | public: |
| | | int OnDWClick(TEvent* evt, int p) |
| | |
| | | public: |
| | | static vindexmenu* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | | vindexmenu* pWin = new vindexmenu(implPtr, (HWND)hWnd); |
| | | return pWin; |
| | | return new vindexmenu(implPtr, (HWND)hWnd); |
| | | } |
| | | |
| | | int OnHideWin() |
| | |
| | | public:\ |
| | | ty(void* impl,HWND hWnd):pty(impl,hWnd){}\ |
| | | public:\ |
| | | ty * CreateInstance(void* impl,void* hWnd)\ |
| | | static ty * CreateInstance(void* impl,void* hWnd)\ |
| | | {\ |
| | | return new ty(impl,(HWND)hWnd);\ |
| | | } |