![]() |
wxIScan
|
A second thread to create the thumb nail for wxImagePanel. More...
#include <wximagepanel.h>
Public Member Functions | |
| wxImagePanelThread (wxEvtHandler *poEvtHandler, int nEventInt) | |
| Standard constructor. | |
| virtual ExitCode | Entry () |
| Thread execution starts here. | |
A second thread to create the thumb nail for wxImagePanel.
...
Definition at line 110 of file wximagepanel.h.
| wxImagePanelThread::wxImagePanelThread | ( | wxEvtHandler * | poEvtHandler, |
| int | nEventInt | ||
| ) | [inline] |
Standard constructor.
| poEvtHandler | A pointer to the event handler that owns the thread. |
| nEventInt | The ID of the corresponding image (in the hash map). |
Definition at line 118 of file wximagepanel.h.
: wxExtThread( poEvtHandler, nEventInt ) { }
| virtual ExitCode wxImagePanelThread::Entry | ( | ) | [inline, virtual] |
Thread execution starts here.
Reimplemented from wxExtThread.
Definition at line 124 of file wximagepanel.h.
References wxExtThread::m_nEventInt, and wxExtThread::m_poEvtHandler.
{
// Run the preview image creation.
( (wxImagePanel *)m_poEvtHandler )->OnThreadEntry( m_nEventInt );
// Return with exit code 0 (success).
return 0;
}