wxIScan
wxImagePanelThread Class Reference

A second thread to create the thumb nail for wxImagePanel. More...

#include <wximagepanel.h>

Inheritance diagram for wxImagePanelThread:
wxExtThread

List of all members.

Public Member Functions

 wxImagePanelThread (wxEvtHandler *poEvtHandler, int nEventInt)
 Standard constructor.
virtual ExitCode Entry ()
 Thread execution starts here.

Detailed Description

A second thread to create the thumb nail for wxImagePanel.

...

Definition at line 110 of file wximagepanel.h.


Constructor & Destructor Documentation

wxImagePanelThread::wxImagePanelThread ( wxEvtHandler *  poEvtHandler,
int  nEventInt 
) [inline]

Standard constructor.

Parameters:
poEvtHandlerA pointer to the event handler that owns the thread.
nEventIntThe ID of the corresponding image (in the hash map).

Definition at line 118 of file wximagepanel.h.

          : wxExtThread( poEvtHandler, nEventInt )
        {
        }

Member Function Documentation

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;
        }

The documentation for this class was generated from the following file: