Hi,
The attached patch makes Win32::GUI build cleanly on a non-PerlObject
Perl (5.005_03).
The changes are:
1. Change the message (I'm using 5.005, not 5.004) :-)
2. Typo: GetGetWindowLong -> GetWindowLong
3. Typo in GetTimerName(). The test was against "obj" (which is
uninitialised) instead of "parent" (which has just been obtained). Am I
right in this change???
4. Missing comment close in WindowMsgLoop. Totally trashes the logic!
5. Changed the FirstVisible method. If an item was specified, the
original returned the result of TreeView_SelectSetFirstVisible(). But
this is not a HTREEITEM (it's a BOOL). The changed version returns the
*original* FirstVisible, so you can do $old = FirstVisible($new). This
is (AFAIK) more common behavious for set methods - regardless, it's
better than returning an invalid result!
I've not done many tests - it builds cleanly and "pride.pl" runs OK.
Hope this is useful.
Paul Moore
PATCH