| 87 | } |
| 88 | |
| 89 | void wxMultiImagePanel::loadClassImage(int clsIdx, const char *clsname, wxString file, wxBitmapType format) |
| 90 | { |
| 91 | if (image != NULL && clsIdx >= 0 && clsIdx < nClasses) { |
| 92 | image[clsIdx].LoadFile(file, format); |
| 93 | } |
| 94 | if (clsName != NULL && clsIdx >= 0 && clsIdx < nClasses) { |
| 95 | clsName[clsIdx] = clsname; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | /* |
| 100 | * Called by the system of by wxWidgets when the panel needs |